mirror of
https://github.com/CompeyDev/my-nvim-setup.git
synced 2024-12-13 05:20:38 +00:00
643d1bd7d8
third commit of refactor perf improvements due to async run packer sync if base16 not found this is not perfect error handling for initial run, but something handle require errors
15 lines
383 B
Lua
15 lines
383 B
Lua
local M = {}
|
|
|
|
-- hide line numbers , statusline in specific buffers!
|
|
M.hideStuff = function()
|
|
vim.api.nvim_exec(
|
|
[[
|
|
au BufEnter term://* setlocal nonumber
|
|
au BufEnter,BufWinEnter,WinEnter,CmdwinEnter * if bufname('%') == "NvimTree" | set laststatus=0 | else | set laststatus=2 | endif
|
|
au BufEnter term://* set laststatus=0
|
|
]],
|
|
false
|
|
)
|
|
end
|
|
|
|
return M
|