Nvim updates

This commit is contained in:
2023-03-11 11:28:57 -05:00
parent fedae4bbe8
commit 4528c89adf
3 changed files with 42 additions and 38 deletions

View File

@@ -43,7 +43,7 @@ require("nvim-tree").setup {
-- will not open on setup if the filetype is in this list
ignore_ft_on_setup = {},
-- closes neovim automatically when the tree is the last **WINDOW** in the view
auto_close = true,
--auto_close = true,
-- opens the tree when changing/opening a new tab if the tree wasn't previously opened
open_on_tab = true,
-- hijack the cursor in the tree to put it at the start of the filename
@@ -51,11 +51,11 @@ require("nvim-tree").setup {
-- updates the root directory of the tree on `DirChanged` (when your run `:cd` usually)
update_cwd = true,
-- this option hides files and folders starting with a dot `.`
hide_dotfiles = true,
--hide_dotfiles = true,
-- show lsp diagnostics in the signcolumn
diagnostics = {
enabled = true,
icon = {hint = "", info = "", warning = "", error = ""}
enable = true,
icons = {hint = "", info = "", warning = "", error = ""}
},
git = {ignore = true},
-- update the focused file on `BufEnter`, un-collapses the folders recursively until it finds the file
@@ -88,7 +88,7 @@ require("nvim-tree").setup {
-- side of the tree, can be one of 'left' | 'right' | 'top' | 'bottom'
side = "left",
-- if true the tree will resize itself after opening a file
auto_resize = true,
--auto_resize = true,
mappings = {
-- custom only false will merge the list with the default mappings
-- if true, it will only use your list to set the mappings