Added nvim config(wip)
This commit is contained in:
@@ -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>')
|
||||
Reference in New Issue
Block a user