diff options
| author | pml68 <tutorialmester@gmail.com> | 2024-06-25 11:58:42 +0200 |
|---|---|---|
| committer | pml68 <tutorialmester@gmail.com> | 2024-06-25 11:58:42 +0200 |
| commit | 8fc50a3b9d86fd47e84e804fea563d563cb562fa (patch) | |
| tree | 2069fe80af155e9bcabe0bc6dcbcbd5112d5df08 /lua/pml68/plugins.lua | |
| parent | feat(Oil): add some config options (diff) | |
| download | nvim-8fc50a3b9d86fd47e84e804fea563d563cb562fa.tar.gz | |
feat: only load guard.nvim for C, C++ and JSON
Diffstat (limited to 'lua/pml68/plugins.lua')
| -rw-r--r-- | lua/pml68/plugins.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lua/pml68/plugins.lua b/lua/pml68/plugins.lua index 8ebbca3..b833e05 100644 --- a/lua/pml68/plugins.lua +++ b/lua/pml68/plugins.lua @@ -54,7 +54,7 @@ local plugins = { view_options = { show_hidden = true, natural_order = true, - is_always_hidden = function (name, _) + is_always_hidden = function(name, _) return name == '.git' end }, @@ -251,7 +251,7 @@ local plugins = { dependencies = { "nvimdev/guard-collection" }, - event = "BufReadPre", + ft = { "c", "cpp", "json" }, config = function() local ft = require("guard.filetype") |
