diff options
Diffstat (limited to 'lua/pml68/plugins')
| -rw-r--r-- | lua/pml68/plugins/guard.lua | 1 | ||||
| -rw-r--r-- | lua/pml68/plugins/lang-specific.lua | 7 |
2 files changed, 1 insertions, 7 deletions
diff --git a/lua/pml68/plugins/guard.lua b/lua/pml68/plugins/guard.lua index 86cdfd2..7bdc7a7 100644 --- a/lua/pml68/plugins/guard.lua +++ b/lua/pml68/plugins/guard.lua @@ -8,6 +8,7 @@ return { local ft = require("guard.filetype") ft("c,cpp,h"):fmt("clang-format") + ft("rust"):fmt("rustfmt") ft("json"):fmt({ cmd = "jq", stdin = true diff --git a/lua/pml68/plugins/lang-specific.lua b/lua/pml68/plugins/lang-specific.lua index e4118fa..782e207 100644 --- a/lua/pml68/plugins/lang-specific.lua +++ b/lua/pml68/plugins/lang-specific.lua @@ -15,13 +15,6 @@ return { }, -- Rust { - "rust-lang/rust.vim", - ft = "rust", - init = function() - vim.g.rustfmt_autosave = 1 - end, - }, - { "saecki/crates.nvim", tag = "stable", dependencies = "hrsh7th/nvim-cmp", |
