Fix lua vim awareness, enable prettier, fix gitsigns

- Make lua aware of vim runtime
- enable prettier for json, html, css, yaml, markdown
- gitsigns was not enabled
This commit is contained in:
Fabian Schmidt
2023-03-03 11:42:28 +01:00
parent a4e6919899
commit cc9fc11a62
4 changed files with 35 additions and 53 deletions

View File

@@ -8,45 +8,7 @@ return {
'nvim-tree/nvim-tree.lua',
config = function()
require('nvim-tree').setup {
disable_netrw = true,
hijack_netrw = true,
open_on_setup = false,
ignore_ft_on_setup = {},
open_on_tab = false,
hijack_cursor = false,
update_cwd = true,
hijack_directories = {
enable = true,
auto_open = true,
},
diagnostics = {
enable = false,
icons = {
hint = "",
info = "",
warning = "",
error = "",
}
},
update_focused_file = {
enable = false,
update_cwd = false,
ignore_list = {}
},
system_open = {
cmd = nil,
args = {}
},
filters = {
dotfiles = false,
custom = {}
},
git = {
enable = true,
ignore = true,
timeout = 500,
},
view = {
view = {
width = 30,
hide_root_folder = false,
side = 'left',
@@ -55,11 +17,6 @@ return {
list = {}
}
},
actions = {
open_file = {
resize_window = false
}
}
}
end,
dependencies = { 'nvim-tree/nvim-web-devicons' }