diff --git a/book/src/generated/lang-support.md b/book/src/generated/lang-support.md index 88c9df91484f..586db6e94c98 100644 --- a/book/src/generated/lang-support.md +++ b/book/src/generated/lang-support.md @@ -53,7 +53,7 @@ | javascript | ✓ | ✓ | ✓ | `typescript-language-server` | | jsdoc | ✓ | | | | | json | ✓ | | ✓ | `vscode-json-language-server` | -| jsonnet | ✓ | | | | +| jsonnet | ✓ | | | `jsonnet-language-server` | | jsx | ✓ | ✓ | ✓ | `typescript-language-server` | | julia | ✓ | | | `julia` | | kotlin | ✓ | | | `kotlin-language-server` | diff --git a/languages.toml b/languages.toml index 12f02781d44b..c8e72af8a823 100644 --- a/languages.toml +++ b/languages.toml @@ -1731,9 +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", "--lint"] } [[grammar]] name = "jsonnet"