mirror of https://github.com/NvChad/NvChad
Merge pull request #171 from Pocco81/dev-init
Securely call modules and disable all builtin pluginpull/176/head
commit
845ac0e615
@ -1,15 +1,9 @@
|
||||
local M = {}
|
||||
|
||||
-- hide line numbers , statusline in specific buffers!
|
||||
M.hideStuff = function()
|
||||
vim.api.nvim_exec(
|
||||
vim.api.nvim_exec(
|
||||
[[
|
||||
au TermOpen term://* setlocal nonumber laststatus=0
|
||||
au TermClose term://* bd!
|
||||
au BufEnter,BufWinEnter,WinEnter,CmdwinEnter * if bufname('%') == "NvimTree" | set laststatus=0 | else | set laststatus=2 | endif
|
||||
]],
|
||||
false
|
||||
)
|
||||
end
|
||||
|
||||
return M
|
||||
)
|
||||
|
Loading…
Reference in New Issue