feat: secure calls + disabled all builtin plugins

This commit is contained in:
Pocco81
2021-07-20 13:19:31 -05:00
parent 665fa24783
commit 355178a7bb
3 changed files with 39 additions and 26 deletions

View File

@@ -1,14 +1,5 @@
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 BufEnter,BufWinEnter,WinEnter,CmdwinEnter * if bufname('%') == "NvimTree" | set laststatus=0 | else | set laststatus=2 | endif
]],
false
)
end
return M
]], false)