my-nvim-setup/lua/utils.lua

9 lines
272 B
Lua
Raw Normal View History

2021-07-09 04:44:04 +01:00
-- hide line numbers , statusline in specific buffers!
2021-07-21 05:20:00 +01:00
vim.api.nvim_exec(
[[
2021-07-22 09:04:21 +01:00
au TermOpen term://* setlocal nonumber
2021-07-09 04:44:04 +01:00
au BufEnter,BufWinEnter,WinEnter,CmdwinEnter * if bufname('%') == "NvimTree" | set laststatus=0 | else | set laststatus=2 | endif
]],
2021-07-21 05:20:00 +01:00
false
)