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 thomasskk committed Sep 9, 2022
1 parent b8e9ea9 commit e13ca14
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 e13ca14

Please sign in to comment.