diff options
| author | github-actions[bot] <github-actions[bot]@users.noreply.github.com> | 2025-05-09 19:32:20 +0000 |
|---|---|---|
| committer | github-actions[bot] <github-actions[bot]@users.noreply.github.com> | 2025-05-09 19:32:20 +0000 |
| commit | f817582301b2c188c1cff7c956971ce3f85631ff (patch) | |
| tree | 98ca753af6f561a057f42c58c3cd30bbb3497911 | |
| parent | feat(jsonnet_ls): vim.lsp.confg support #3825 (diff) | |
| download | nvim-lspconfig-f817582301b2c188c1cff7c956971ce3f85631ff.tar nvim-lspconfig-f817582301b2c188c1cff7c956971ce3f85631ff.tar.gz nvim-lspconfig-f817582301b2c188c1cff7c956971ce3f85631ff.tar.bz2 nvim-lspconfig-f817582301b2c188c1cff7c956971ce3f85631ff.tar.lz nvim-lspconfig-f817582301b2c188c1cff7c956971ce3f85631ff.tar.xz nvim-lspconfig-f817582301b2c188c1cff7c956971ce3f85631ff.tar.zst nvim-lspconfig-f817582301b2c188c1cff7c956971ce3f85631ff.zip | |
docs: update configs.md
skip-checks: true
| -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 |
