Added nvim config(wip)

This commit is contained in:
hellisabove
2023-01-25 20:25:13 +02:00
commit e4a238fa00
6 changed files with 124 additions and 0 deletions
+40
View File
@@ -0,0 +1,40 @@
vim.g.loaded_netrw = 1
vim.g.loaded_netrwPlugin = 1
vim.opt.termguicolors = true
require("nvim-tree").setup({
sort_by = "case-sensitive",
actions = {
open_file = {quit_on_open=true}
},
update_focused_file = {
enable = true,
update_cwd = true
},
filters = {
custom = { '^.git$','node_modules$' }
},
git = {
enable = true
},
log = {
enable = true,
types = {
diagnostics = true
}
},
diagnostics = {
enable = true,
show_on_dirs=false,
debounce_delay=50,
icons = {
hint = 'H',
info = 'I',
warning = 'W',
error = 'E'
}
}
})
vim.keymap.set('n','<c-e>','<cmd>NvimTreeToggle<cr>')