Update utils.lua

This commit is contained in:
siduck76 2021-07-23 18:03:04 +05:30 committed by GitHub
parent 0d69a528a8
commit f8727f1659
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,7 +1,7 @@
-- hide line numbers , statusline in specific buffers!
vim.api.nvim_exec(
[[
au TermOpen term://* setlocal nonumber
au TermOpen term://* setlocal nonumber laststatus=0
au BufEnter,BufWinEnter,WinEnter,CmdwinEnter * if bufname('%') == "NvimTree" | set laststatus=0 | else | set laststatus=2 | endif
]],
false