mirror of
https://github.com/CompeyDev/my-nvim-setup.git
synced 2024-12-13 05:20:38 +00:00
8 lines
286 B
Lua
8 lines
286 B
Lua
-- hide line numbers , statusline in specific buffers!
|
|
vim.api.nvim_exec(
|
|
[[
|
|
au TermOpen term://* setlocal nonumber laststatus=0
|
|
au BufEnter,BufWinEnter,WinEnter,CmdwinEnter * if bufname('%') == "NvimTree" | set laststatus=0 | else | set laststatus=2 | endif
|
|
]],
|
|
false
|
|
)
|