aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatouš Dzivjak2022-09-08 18:16:11 +0000
committerMichael Davis2022-09-08 23:38:41 +0000
commit76b3f502c40913cb73096720bc9702c0a5242a5e (patch)
treee5fae394ed810b2bba57595f766d2fae588e9703
parent7210b39587be031621a4a77b1866bbdbc6646992 (diff)
feat(lsp): jsonnet-language-server
Add jsonnet-language-server for jsonnet language. See: https://github.com/grafana/jsonnet-language-server
-rw-r--r--book/src/generated/lang-support.md2
-rw-r--r--languages.toml1
2 files changed, 2 insertions, 1 deletions
diff --git a/book/src/generated/lang-support.md b/book/src/generated/lang-support.md
index 738bd5ec..ca7c1248 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 7b4737cf..417c8280 100644
--- a/languages.toml
+++ b/languages.toml
@@ -1734,6 +1734,7 @@ file-types = ["libsonnet", "jsonnet"]
roots = []
comment-token = "//"
indent = { tab-width = 2, unit = " " }
+language-server = { command = "jsonnet-language-server", args= ["-t"] }
[[grammar]]
name = "jsonnet"