diff options
| -rw-r--r-- | doc/configs.md | 33 | ||||
| -rw-r--r-- | doc/configs.txt | 23 |
2 files changed, 56 insertions, 0 deletions
diff --git a/doc/configs.md b/doc/configs.md index b248e13b..1d927e54 100644 --- a/doc/configs.md +++ b/doc/configs.md @@ -147,6 +147,7 @@ Nvim by running `:help lspconfig-all`. - [jinja_lsp](#jinja_lsp) - [jqls](#jqls) - [jsonls](#jsonls) +- [jsonnet_ls](#jsonnet_ls) - [julials](#julials) - [just](#just) - [kcl](#kcl) @@ -5672,6 +5673,38 @@ Default config: --- +## jsonnet_ls + +https://github.com/grafana/jsonnet-language-server + +A Language Server Protocol (LSP) server for Jsonnet. + +The language server can be installed with `go`: +```sh +go install github.com/grafana/jsonnet-language-server@latest +``` + +Snippet to enable the language server: +```lua +vim.lsp.enable('jsonnet_ls') +``` + +Default config: +- `cmd` : + ```lua + { "jsonnet-language-server" } + ``` +- `filetypes` : + ```lua + { "jsonnet", "libsonnet" } + ``` +- `root_markers` : + ```lua + { "jsonnetfile.json", ".git" } + ``` + +--- + ## julials https://github.com/julia-vscode/julia-vscode diff --git a/doc/configs.txt b/doc/configs.txt index f7f261ed..3ce22b09 100644 --- a/doc/configs.txt +++ b/doc/configs.txt @@ -4058,6 +4058,29 @@ Default config: < ------------------------------------------------------------------------------ +jsonnet_ls + +https://github.com/grafana/jsonnet-language-server + +A Language Server Protocol (LSP) server for Jsonnet. + +The language server can be installed with `go` >sh + go install github.com/grafana/jsonnet-language-server@latest + +Snippet to enable the language server: >lua + vim.lsp.enable('jsonnet_ls') + + +Default config: +- cmd: >lua + { "jsonnet-language-server" } +- filetypes: >lua + { "jsonnet", "libsonnet" } +- root_markers: >lua + { "jsonnetfile.json", ".git" } +< + +------------------------------------------------------------------------------ julials https://github.com/julia-vscode/julia-vscode |
