Commit: b3cb45c49aac5959e911806d057b4f5068c9d997
Parent: 70c71dfe0a85674fa9fd87cae1a65dc0f1ae84a3
Author: Randy Palamar
Date: Tue, 21 Nov 2023 09:15:11 -0700
add meson fmt/lint via muon
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/init.lua b/init.lua
@@ -5,11 +5,13 @@ lint.linters["bash"] = {"shellcheck -"}
lint.linters["json"] = {"jq"}
lint.linters["lua"] = {"luacheck --no-color -"}
lint.linters["man"] = {"mandoc -T lint"}
+lint.linters["meson"] = {"muon analyze"}
lint.linters["python"] = {"black --check -", "isort --check -"}
lint.linters["rust"] = {"rustfmt --check", "clippy-driver -"}
lint.fixers = {}
lint.fixers["json"] = {"jq"}
+lint.fixers["meson"] = {"muon fmt"}
lint.fixers["python"] = {"black -", "isort -"}
lint.fixers["rust"] = {"rustfmt"}