diff options
| author | pml68 <contact@pml68.dev> | 2025-01-01 01:19:19 +0100 |
|---|---|---|
| committer | pml68 <contact@pml68.dev> | 2025-01-01 01:19:19 +0100 |
| commit | d6b3f9aaf670eec24ba008e9113839b308666f01 (patch) | |
| tree | f73c6be95db320e51d75cfb5a7d8689801f6cff4 /lua/pml68/plugins/guard.lua | |
| parent | fix: cmp deleting text, behaving weirdly (diff) | |
| download | nvim-d6b3f9aaf670eec24ba008e9113839b308666f01.tar.gz | |
fix: revert to rust.vim, fix weird cmp behavior
Diffstat (limited to '')
| -rw-r--r-- | lua/pml68/plugins/guard.lua | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lua/pml68/plugins/guard.lua b/lua/pml68/plugins/guard.lua index 8f0ddd0..bfae097 100644 --- a/lua/pml68/plugins/guard.lua +++ b/lua/pml68/plugins/guard.lua @@ -3,12 +3,11 @@ return { dependencies = { "nvimdev/guard-collection" }, - event = { "BufReadPost", "BufNewFile" }, + ft = { "c", "cpp", "h", "json", "go", "lua" }, config = function() local ft = require("guard.filetype") ft("c,cpp,h"):fmt("clang-format") - ft("rust"):fmt("lsp") ft("json"):fmt({ cmd = "jq", stdin = true |
