diff options
author | pr-313 <[email protected]> | 2023-01-19 15:05:06 +0530 |
---|---|---|
committer | opalmay <[email protected]> | 2023-01-20 23:52:10 +0200 |
commit | 621af91ebc158060af688d4f52e2f8f096062989 (patch) | |
tree | 398029b9ae7fc56904b73452feee8a92d7321a69 /lua/lvim/plugins.lua | |
parent | 74bd5e16aa2a9dc4bd751618982fcd6cfba3a036 (diff) |
fix(lazy): suggested fixes for pref/lazyloading branch (#3754)
fix(lazy): Suggested fixes from previous comments
fix(lazy): applying suggestions from code review
Co-authored-by: LostNeophyte <[email protected]>
Co-authored-by: Pratyush Bharati <[email protected]>
Co-authored-by: LostNeophyte <[email protected]>
Diffstat (limited to 'lua/lvim/plugins.lua')
-rw-r--r-- | lua/lvim/plugins.lua | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lua/lvim/plugins.lua b/lua/lvim/plugins.lua index 47d40971..904f42eb 100644 --- a/lua/lvim/plugins.lua +++ b/lua/lvim/plugins.lua @@ -131,7 +131,7 @@ local core_plugins = { require("lvim.core.nvimtree").setup() end, enabled = lvim.builtin.nvimtree.active, - cmd = { "NvimTreeToggle", "NvimTreeOpen", "NvimTreeFocus" }, + cmd = { "NvimTreeToggle", "NvimTreeOpen", "NvimTreeFocus", "NvimTreeFindFileToggle" }, event = "User DirOpened", }, -- Lir @@ -168,7 +168,8 @@ local core_plugins = { config = function() require("lvim.core.comment").setup() end, - keys = { { "gc", mode = { "n", "v" } }, { "gb", mode = { "n", "v" } } }, + keys = { { "gc", mode = { "n", "v" } }, { "gb", mode = { "n", "v" } }}, + event = "User FileOpened", enabled = lvim.builtin.comment.active, }, |