Skip to content

Commit 15af2a0

Browse files
matoousjdrst
authored andcommitted
enable lint option
Enable lint option to highlight unused vars, etc. and take full advantage of the running language server.
1 parent 6d61093 commit 15af2a0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

languages.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1731,10 +1731,10 @@ source = { git = "https://github.com/Giorbo/tree-sitter-sml", rev = "bd4055d5554
17311731
name = "jsonnet"
17321732
scope = "source.jsonnet"
17331733
file-types = ["libsonnet", "jsonnet"]
1734-
roots = []
1734+
roots = ["jsonnetfile.json"]
17351735
comment-token = "//"
17361736
indent = { tab-width = 2, unit = " " }
1737-
language-server = { command = "jsonnet-language-server", args= ["-t"] }
1737+
language-server = { command = "jsonnet-language-server", args= ["-t", "--lint"] }
17381738

17391739
[[grammar]]
17401740
name = "jsonnet"

0 commit comments

Comments
 (0)