vis-lint

vis plugin for linting code
git clone anongit@rnpnr.xyz:vis-lint.git
Log | Files | Refs | Feed | README | LICENSE

Commit: 907c481578bacad880349c56474b5e6a8a203fa1
Parent: ac39925d1c7a5f9f4aa2cea35585aca5042b9583
Author: Hugo O. Rivera
Date:   Sun, 16 Apr 2023 09:37:06 -0600

Add Rust linters/fixers

Diffstat:
Minit.lua | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/init.lua b/init.lua @@ -4,10 +4,12 @@ linters["json"] = {"jq"} linters["lua"] = {"luacheck --no-color -"} linters["man"] = {"mandoc -T lint"} linters["python"] = {"ruff", "mypy --strict"} +linters["rust"] = {"cargo check", "cargo clippy"} fixers = {} fixers["json"] = {"jq -c"} fixers["python"] = {"black", "isort", "ruff --fix"} +fixers["rust"] = {"cargo fmt", "cargo clippy --fix"} -- Clear vis:message window before running? run_actions_on_file = function(action, actions, file)