aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatouš Dzivjak2022-09-08 21:10:24 +0000
committerMichael Davis2022-09-08 23:38:41 +0000
commit321cce3f13b2609f7d7d4fc3bef4257809acf484 (patch)
treef58fe06970186d31bbeef61a41622774d70fd535
parent76b3f502c40913cb73096720bc9702c0a5242a5e (diff)
enable lint option
Enable lint option to highlight unused vars, etc. and take full advantage of the running language server.
-rw-r--r--languages.toml4
1 files changed, 2 insertions, 2 deletions
diff --git a/languages.toml b/languages.toml
index 417c8280..15fbe7fb 100644
--- a/languages.toml
+++ b/languages.toml
@@ -1731,10 +1731,10 @@ source = { git = "https://github.com/Giorbo/tree-sitter-sml", rev = "bd4055d5554
name = "jsonnet"
scope = "source.jsonnet"
file-types = ["libsonnet", "jsonnet"]
-roots = []
+roots = ["jsonnetfile.json"]
comment-token = "//"
indent = { tab-width = 2, unit = " " }
-language-server = { command = "jsonnet-language-server", args= ["-t"] }
+language-server = { command = "jsonnet-language-server", args= ["-t", "--lint"] }
[[grammar]]
name = "jsonnet"