diff options
| author | github-actions[bot] <github-actions[bot]@users.noreply.github.com> | 2024-01-19 06:25:24 +0000 |
|---|---|---|
| committer | github-actions[bot] <github-actions[bot]@users.noreply.github.com> | 2024-01-19 06:25:24 +0000 |
| commit | 042aa6b27b8b8d4f4e1bd42de2037c83d676a8a0 (patch) | |
| tree | 880a6030aa63be017ba679bae15628dd6692b668 | |
| parent | feat: add bzl lsp (#2973) (diff) | |
| download | nvim-lspconfig-042aa6b27b8b8d4f4e1bd42de2037c83d676a8a0.tar nvim-lspconfig-042aa6b27b8b8d4f4e1bd42de2037c83d676a8a0.tar.gz nvim-lspconfig-042aa6b27b8b8d4f4e1bd42de2037c83d676a8a0.tar.bz2 nvim-lspconfig-042aa6b27b8b8d4f4e1bd42de2037c83d676a8a0.tar.lz nvim-lspconfig-042aa6b27b8b8d4f4e1bd42de2037c83d676a8a0.tar.xz nvim-lspconfig-042aa6b27b8b8d4f4e1bd42de2037c83d676a8a0.tar.zst nvim-lspconfig-042aa6b27b8b8d4f4e1bd42de2037c83d676a8a0.zip | |
docs: update server_configurations.md
skip-checks: true
| -rw-r--r-- | doc/server_configurations.md | 32 | ||||
| -rw-r--r-- | doc/server_configurations.txt | 32 |
2 files changed, 64 insertions, 0 deletions
diff --git a/doc/server_configurations.md b/doc/server_configurations.md index aad19ea9..462131b5 100644 --- a/doc/server_configurations.md +++ b/doc/server_configurations.md @@ -29,6 +29,7 @@ autogenerated from the Lua files. You can view this file in Nvim by running - [buck2](#buck2) - [buddy_ls](#buddy_ls) - [bufls](#bufls) +- [bzl](#bzl) - [cadence](#cadence) - [cairo_ls](#cairo_ls) - [ccls](#ccls) @@ -1453,6 +1454,37 @@ require'lspconfig'.bufls.setup{} ``` +## bzl + +https://bzl.io/ + +https://docs.stack.build/docs/cli/installation + +https://docs.stack.build/docs/vscode/starlark-language-server + + + +**Snippet to enable the language server:** +```lua +require'lspconfig'.bzl.setup{} +``` + + +**Default values:** + - `cmd` : + ```lua + { "bzl", "lsp", "serve" } + ``` + - `filetypes` : + ```lua + { "bzl" } + ``` + - `root_dir` : + ```lua + root_pattern(".git") + ``` + + ## cadence [Cadence Language Server](https://github.com/onflow/cadence-tools/tree/master/languageserver) diff --git a/doc/server_configurations.txt b/doc/server_configurations.txt index aad19ea9..462131b5 100644 --- a/doc/server_configurations.txt +++ b/doc/server_configurations.txt @@ -29,6 +29,7 @@ autogenerated from the Lua files. You can view this file in Nvim by running - [buck2](#buck2) - [buddy_ls](#buddy_ls) - [bufls](#bufls) +- [bzl](#bzl) - [cadence](#cadence) - [cairo_ls](#cairo_ls) - [ccls](#ccls) @@ -1453,6 +1454,37 @@ require'lspconfig'.bufls.setup{} ``` +## bzl + +https://bzl.io/ + +https://docs.stack.build/docs/cli/installation + +https://docs.stack.build/docs/vscode/starlark-language-server + + + +**Snippet to enable the language server:** +```lua +require'lspconfig'.bzl.setup{} +``` + + +**Default values:** + - `cmd` : + ```lua + { "bzl", "lsp", "serve" } + ``` + - `filetypes` : + ```lua + { "bzl" } + ``` + - `root_dir` : + ```lua + root_pattern(".git") + ``` + + ## cadence [Cadence Language Server](https://github.com/onflow/cadence-tools/tree/master/languageserver) |
