2 files changed,
14 insertions(+),
0 deletions(-)
Author:
Smirnov Olexander
ss2316544@gmail.com
Committed at:
2022-04-14 21:59:34 +0300
Parent:
4981165
M
lua/fk/lsp/null.lua
@@ -15,5 +15,6 @@ -- diagnostic.golangci_lint,
formatting.black, formatting.isort, diagnostic.flake8, + formatting.rustfmt, }, }
A
lua/fk/lsp/providers/rust_analyzer.lua
@@ -0,0 +1,13 @@
+return { + settings = { + ["rust-analyzer"] = { + assist = { + importGranularity = "module", + importPrefix = "by_self", + }, + cargo = { loadOutDirsFromCheck = true }, + checkOnSave = { command = "clippy" }, + procMacro = { enable = true }, + }, + }, +}