1
0
Fork 0
mirror of https://codeberg.org/Mo8it/dotfiles.git synced 2024-10-17 20:52:40 +00:00

Use clippy instead of check

This commit is contained in:
Mo 2023-01-22 14:41:55 +01:00
parent bde0e5c843
commit 89b61c45f0
2 changed files with 4 additions and 0 deletions

View file

@ -34,6 +34,8 @@ if status is-interactive
abbr -ag pps "podman ps --format '{{.Names}}'" abbr -ag pps "podman ps --format '{{.Names}}'"
abbr -ag bacon "bacon -j clippy"
# Functions # Functions
## Replacements ## Replacements
function cd -w z function cd -w z

View file

@ -2,6 +2,8 @@
name = "rust" name = "rust"
language-server = { command = "rustup", args = ["run", "stable", "rust-analyzer"] } language-server = { command = "rustup", args = ["run", "stable", "rust-analyzer"] }
auto-format = true auto-format = true
[language.config.checkOnSave]
command = "clippy"
[[language]] [[language]]
name = "python" name = "python"