mirror of
https://github.com/ilyakooo0/helix.git
synced 2024-08-17 03:50:21 +03:00
enable lint option
Enable lint option to highlight unused vars, etc. and take full advantage of the running language server.
This commit is contained in:
parent
76b3f502c4
commit
321cce3f13
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user