kak: use clippy as rust's check command

This commit is contained in:
Leonardo Eugênio 2023-02-09 11:45:22 -03:00
parent 775181e570
commit 97336a0cd0

View file

@ -208,6 +208,7 @@ args = [
[language.rust.settings.rust-analyzer] [language.rust.settings.rust-analyzer]
## this can use too much space and processing power ## this can use too much space and processing power
# checkOnSave.extraArgs = ["--target-dir", "./target/check"] # checkOnSave.extraArgs = ["--target-dir", "./target/check"]
checkOnSave.command = "clippy"
hoverActions.enable = false # kak-lsp doesn't support this at the moment hoverActions.enable = false # kak-lsp doesn't support this at the moment
# procMacro.enable = true # procMacro.enable = true
# cargo.loadOutDirsFromCheck = true # cargo.loadOutDirsFromCheck = true