diff --git a/init.lua b/init.lua index cf120147..873adce0 100644 --- a/init.lua +++ b/init.lua @@ -585,7 +585,6 @@ require('lazy').setup({ unusedparams = true, shadow = true, }, - staticcheck = true, }, }, init_option = { diff --git a/lua/custom/plugins/filetree.lua b/lua/custom/plugins/filetree.lua index 349c3685..fc58d83b 100644 --- a/lua/custom/plugins/filetree.lua +++ b/lua/custom/plugins/filetree.lua @@ -529,7 +529,7 @@ return { group_empty_dirs = false, -- when true, empty folders will be grouped together search_limit = 50, -- max number of search results when using filters follow_current_file = { - enabled = false, -- This will find and focus the file in the active buffer every time + enabled = true, -- This will find and focus the file in the active buffer every time -- -- the current file is changed while the tree is open. leave_dirs_open = false, -- `false` closes auto expanded dirs, such as with `:Neotree reveal` },