nvim automatic highlight opened file
This commit is contained in:
parent
77a02b1312
commit
7c59b09bbd
1 changed files with 16 additions and 1 deletions
|
|
@ -193,8 +193,15 @@
|
|||
|
||||
# Additional Lua configuration for plugins that need custom setup
|
||||
extraConfigLua = ''
|
||||
-- Nvim-tree setup with filters
|
||||
-- Nvim-tree setup with filters and auto-sync
|
||||
require("nvim-tree").setup({
|
||||
sync_root_with_cwd = true,
|
||||
respect_buf_cwd = true,
|
||||
update_focused_file = {
|
||||
enable = true,
|
||||
update_root = true,
|
||||
ignore_list = {},
|
||||
},
|
||||
filters = {
|
||||
dotfiles = true, -- Hide dotfiles by default (H to toggle)
|
||||
git_ignored = false, -- Show gitignored files by default (I to toggle)
|
||||
|
|
@ -202,6 +209,14 @@
|
|||
".DS_Store",
|
||||
},
|
||||
},
|
||||
view = {
|
||||
width = 30,
|
||||
side = "left",
|
||||
},
|
||||
renderer = {
|
||||
highlight_opened_files = "all",
|
||||
highlight_modified = "all",
|
||||
},
|
||||
})
|
||||
|
||||
-- Dictionary completion setup
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue