Cleanup | Format files

* fix some lint warnings
* remove some unneeded code
This commit is contained in:
Akianonymus 2021-12-11 01:49:35 +05:30 committed by siduck
parent 773d25980c
commit 2293b16709
7 changed files with 28 additions and 40 deletions

View file

@ -13,7 +13,7 @@ g.nvim_tree_highlight_opened_files = 0
g.nvim_tree_indent_markers = 1
g.nvim_tree_quit_on_open = 0 -- closes tree when file's opened
g.nvim_tree_root_folder_modifier = table.concat { ":t:gs?$?/..", string.rep(" ", 1000), "?:gs?^??" }
g.nvim_tree_window_picker_exclude = {
filetype = { "notify", "packer", "qf" },
buftype = { "terminal" },

View file

@ -132,7 +132,7 @@ M.lsp_handlers = function()
})
-- suppress error messages from lang servers
vim.notify = function(msg, log_level, _opts)
vim.notify = function(msg, log_level)
if msg:match "exit code" then
return
end