From a6402b7306661628092eca73e1530ba5505e5cd6 Mon Sep 17 00:00:00 2001 From: john wozniak Date: Mon, 1 Apr 2024 08:23:13 -0400 Subject: [PATCH 1/2] removed staticcheck for gopls --- init.lua | 1 - 1 file changed, 1 deletion(-) diff --git a/init.lua b/init.lua index a2030289..511309c5 100644 --- a/init.lua +++ b/init.lua @@ -585,7 +585,6 @@ require('lazy').setup({ unusedparams = true, shadow = true, }, - staticcheck = true, }, }, init_option = { From bb17be08840906f1ae935c1e864da2febf94539f Mon Sep 17 00:00:00 2001 From: john wozniak Date: Mon, 1 Apr 2024 09:47:46 -0400 Subject: [PATCH 2/2] enabled focus when a file is open in buffer --- lua/custom/plugins/filetree.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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` },