From 76b3f502c40913cb73096720bc9702c0a5242a5e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matou=C5=A1=20Dzivjak?= Date: Thu, 8 Sep 2022 20:16:11 +0200 Subject: [PATCH] feat(lsp): jsonnet-language-server Add jsonnet-language-server for jsonnet language. See: https://github.com/grafana/jsonnet-language-server --- book/src/generated/lang-support.md | 2 +- languages.toml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/book/src/generated/lang-support.md b/book/src/generated/lang-support.md index 738bd5ecd..ca7c12481 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 7b4737cf3..417c82804 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"