Skip to content

Commit

Permalink
enable lint option
Browse files Browse the repository at this point in the history
Enable lint option to highlight unused vars, etc.
and take full advantage of the running language server.
  • Loading branch information
matoous authored and the-mikedavis committed Sep 8, 2022
1 parent 76b3f50 commit 321cce3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions languages.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 321cce3

Please sign in to comment.