2 files changed,
12 insertions(+),
0 deletions(-)
Author:
Smirnov Olexander
ss2316544@gmail.com
Committed at:
2022-05-19 23:45:41 +0300
Parent:
a1d022c
jump to
| M | lua/configs/lsp/init.lua |
| M | lua/configs/lsp/null-ls.lua |
M
lua/configs/lsp/init.lua
@@ -26,6 +26,17 @@ },
}, }, }, + rust_analyzer = { + settings = { + ["rust-analyzer"] = { + cargo = { allFeatures = true }, + checkOnSave = { + command = "clippy", + extraArgs = { "--no-deps" }, + }, + }, + }, + }, gopls = { settings = { gopls = {
M
lua/configs/lsp/null-ls.lua
@@ -15,5 +15,6 @@ formatting.goimports,
formatting.alejandra, diagnostic.statix, formatting.deno_fmt, + formatting.rustfmt, }, }