aboutsummaryrefslogtreecommitdiff
path: root/mingling_cli/tmpls/rust-analyzer.toml
diff options
context:
space:
mode:
Diffstat (limited to 'mingling_cli/tmpls/rust-analyzer.toml')
-rw-r--r--mingling_cli/tmpls/rust-analyzer.toml9
1 files changed, 9 insertions, 0 deletions
diff --git a/mingling_cli/tmpls/rust-analyzer.toml b/mingling_cli/tmpls/rust-analyzer.toml
new file mode 100644
index 0000000..96a96b4
--- /dev/null
+++ b/mingling_cli/tmpls/rust-analyzer.toml
@@ -0,0 +1,9 @@
+checkOnSave = true
+
+# Use mling with ra-lint-check for code checking
+#
+# This tool will:
+# 1. first run `cargo check` to perform basic checks on your workspace
+# 2. then run `mling lint` to perform additional checks
+# on the `Mingling` framework code in your workspace
+check.overrideCommand = ["mling", "ra-lint-check"]