on master help sign in
enable lint option

Enable lint option to highlight unused vars, etc. and take full advantage of the running language server.

commit321cce3f13b2609f7d7d4fc3bef4257809acf484 authorMatouš Dzivjak <matousdzivjak@gmail.com> dateThu 8 Sep 2022, 23:10 (4 years ago) parent76b3f50
1 file changed+2−2
languages.toml+2−2
languages.toml+2−2
@@ -1731,10 +1731,10 @@ source = { git = "https://github.com/Giorbo/tree-sitter-sml", rev = "bd4055d5554
17311731name = "jsonnet"
17321732scope = "source.jsonnet"
17331733file-types = ["libsonnet", "jsonnet"]
1734−roots = []
1734+roots = ["jsonnetfile.json"]
17351735comment-token = "//"
17361736indent = { 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]]
17401740name = "jsonnet"