mirror of
https://github.com/NvChad/NvChad.git
synced 2024-11-08 13:10:25 +00:00
15 lines
354 B
Lua
15 lines
354 B
Lua
local M = {}
|
|
|
|
-- hide line numbers , statusline in specific buffers!
|
|
M.hideStuff = function()
|
|
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
|
|
)
|
|
end
|
|
|
|
return M
|