aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2024-06-28 06:41:35 +0000
committergithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2024-06-28 06:41:35 +0000
commit95b2fc427353e42318c974d10685d500441b821b (patch)
treeb01ebbcbf7c3eb268b971da48aef2f5014174fe2
parentfeat: add bazelrc-lsp config (#3224) (diff)
downloadnvim-lspconfig-95b2fc427353e42318c974d10685d500441b821b.tar
nvim-lspconfig-95b2fc427353e42318c974d10685d500441b821b.tar.gz
nvim-lspconfig-95b2fc427353e42318c974d10685d500441b821b.tar.bz2
nvim-lspconfig-95b2fc427353e42318c974d10685d500441b821b.tar.lz
nvim-lspconfig-95b2fc427353e42318c974d10685d500441b821b.tar.xz
nvim-lspconfig-95b2fc427353e42318c974d10685d500441b821b.tar.zst
nvim-lspconfig-95b2fc427353e42318c974d10685d500441b821b.zip
docs: update server_configurations.md
skip-checks: true
-rw-r--r--doc/server_configurations.md40
-rw-r--r--doc/server_configurations.txt40
2 files changed, 80 insertions, 0 deletions
diff --git a/doc/server_configurations.md b/doc/server_configurations.md
index dd087346..cdcf516e 100644
--- a/doc/server_configurations.md
+++ b/doc/server_configurations.md
@@ -23,6 +23,7 @@ autogenerated from the Lua files. You can view this file in Nvim by running
- [bacon_ls](#bacon_ls)
- [basedpyright](#basedpyright)
- [bashls](#bashls)
+- [bazelrc-lsp](#bazelrc-lsp)
- [beancount](#beancount)
- [bicep](#bicep)
- [biome](#biome)
@@ -1150,6 +1151,45 @@ require'lspconfig'.bashls.setup{}
```
+## bazelrc-lsp
+
+https://github.com/salesforce-misc/bazelrc-lsp
+
+`bazelrc-lsp` is a LSP for `.bazelrc` configuration files.
+
+The `.bazelrc` file type is not detected automatically, you can register it manually (see below) or override the filetypes:
+
+```lua
+vim.filetype.add {
+ pattern = {
+ ['.*.bazelrc'] = 'bazelrc',
+ },
+}
+```
+
+
+
+**Snippet to enable the language server:**
+```lua
+require'lspconfig'.bazelrc-lsp.setup{}
+```
+
+
+**Default values:**
+ - `cmd` :
+ ```lua
+ { "bazelrc-lsp" }
+ ```
+ - `filetypes` :
+ ```lua
+ { "bazelrc" }
+ ```
+ - `root_dir` :
+ ```lua
+ see source file
+ ```
+
+
## beancount
https://github.com/polarmutex/beancount-language-server#installation
diff --git a/doc/server_configurations.txt b/doc/server_configurations.txt
index dd087346..cdcf516e 100644
--- a/doc/server_configurations.txt
+++ b/doc/server_configurations.txt
@@ -23,6 +23,7 @@ autogenerated from the Lua files. You can view this file in Nvim by running
- [bacon_ls](#bacon_ls)
- [basedpyright](#basedpyright)
- [bashls](#bashls)
+- [bazelrc-lsp](#bazelrc-lsp)
- [beancount](#beancount)
- [bicep](#bicep)
- [biome](#biome)
@@ -1150,6 +1151,45 @@ require'lspconfig'.bashls.setup{}
```
+## bazelrc-lsp
+
+https://github.com/salesforce-misc/bazelrc-lsp
+
+`bazelrc-lsp` is a LSP for `.bazelrc` configuration files.
+
+The `.bazelrc` file type is not detected automatically, you can register it manually (see below) or override the filetypes:
+
+```lua
+vim.filetype.add {
+ pattern = {
+ ['.*.bazelrc'] = 'bazelrc',
+ },
+}
+```
+
+
+
+**Snippet to enable the language server:**
+```lua
+require'lspconfig'.bazelrc-lsp.setup{}
+```
+
+
+**Default values:**
+ - `cmd` :
+ ```lua
+ { "bazelrc-lsp" }
+ ```
+ - `filetypes` :
+ ```lua
+ { "bazelrc" }
+ ```
+ - `root_dir` :
+ ```lua
+ see source file
+ ```
+
+
## beancount
https://github.com/polarmutex/beancount-language-server#installation