neovim-config/lua/utils.lua

9 lines
286 B
Lua
Raw Normal View History

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