diff options
| author | brustybee <beebeeb5k@gmail.com> | 2026-04-07 02:48:35 +0530 |
|---|---|---|
| committer | brustybee <beebeeb5k@gmail.com> | 2026-04-07 02:48:35 +0530 |
| commit | 2fa8c79395298a08a04b709fa555f7a11001fb1e (patch) | |
| tree | 6b1d6ab1c547dc01798e7c320fc7f94554717bc2 | |
| parent | 9ce536875e4dbbebb6d894e11a3877d4fb4f51ca (diff) | |
idk rust liter doesnt work with nvim-lint for some reason
| -rw-r--r-- | lua/config/lsp.lua | 2 | ||||
| -rw-r--r-- | lua/plugins/linter.lua | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lua/config/lsp.lua b/lua/config/lsp.lua index 3ac5cca..a92023f 100644 --- a/lua/config/lsp.lua +++ b/lua/config/lsp.lua @@ -78,7 +78,7 @@ vim.g.rustaceanvim = { default_settings = { ["rust-analyzer"] = { checkOnSave = { - enable = false, + enable = true, command = "clippy", }, procMacro = { diff --git a/lua/plugins/linter.lua b/lua/plugins/linter.lua index c804d1c..bd798ba 100644 --- a/lua/plugins/linter.lua +++ b/lua/plugins/linter.lua @@ -9,7 +9,7 @@ return { lint.linters_by_ft = { python = { "ruff" }, go = { "golangcilint" }, - rust = { "clippy" }, + -- rust = { "clippy" }, c = { "clangtidy" }, cpp = { "clangtidy" }, java = { "checkstyle" }, |
