aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorgithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2024-04-15 06:10:58 +0000
committergithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2024-04-15 06:10:58 +0000
commitda0b236ef3c7fdac8aec758fa88b028cd9358495 (patch)
treeaacd5849b4a7e340f93959ed658bd6055acca73e /doc
parentfix: gitlab-ci-ls filetype (#3109) (diff)
downloadnvim-lspconfig-da0b236ef3c7fdac8aec758fa88b028cd9358495.tar
nvim-lspconfig-da0b236ef3c7fdac8aec758fa88b028cd9358495.tar.gz
nvim-lspconfig-da0b236ef3c7fdac8aec758fa88b028cd9358495.tar.bz2
nvim-lspconfig-da0b236ef3c7fdac8aec758fa88b028cd9358495.tar.lz
nvim-lspconfig-da0b236ef3c7fdac8aec758fa88b028cd9358495.tar.xz
nvim-lspconfig-da0b236ef3c7fdac8aec758fa88b028cd9358495.tar.zst
nvim-lspconfig-da0b236ef3c7fdac8aec758fa88b028cd9358495.zip
docs: update server_configurations.md
skip-checks: true
Diffstat (limited to 'doc')
-rw-r--r--doc/server_configurations.md10
-rw-r--r--doc/server_configurations.txt10
2 files changed, 10 insertions, 10 deletions
diff --git a/doc/server_configurations.md b/doc/server_configurations.md
index 8e1ccd8a..f0210132 100644
--- a/doc/server_configurations.md
+++ b/doc/server_configurations.md
@@ -4551,18 +4551,18 @@ require'lspconfig'.gitlab_ci_ls.setup{}
```
- `filetypes` :
```lua
- { "yaml" }
+ { "yaml.gitlab" }
```
- `init_options` :
```lua
{
- cache_path = "/home/user/.cache/gitlab-ci-ls/",
- log_path = "/home/user/.cache/gitlab-ci-ls//log/gitlab-ci-ls.log"
+ cache_path = "util.path.join(vim.loop.os_homedir(), '.cache/gitlab-ci-ls/')",
+ log_path = "util.path.join(util.path.join(vim.loop.os_homedir(), '.cache/gitlab-ci-ls/'), 'log/gitlab-ci-ls.log')"
}
```
- `root_dir` :
```lua
- <function 1>
+ util.root_pattern('.gitlab*', '.git')
```
@@ -13324,7 +13324,7 @@ require'lspconfig'.yamlls.setup{}
```
- `filetypes` :
```lua
- { "yaml", "yaml.docker-compose" }
+ { "yaml", "yaml.docker-compose", "yaml.gitlab" }
```
- `root_dir` :
```lua
diff --git a/doc/server_configurations.txt b/doc/server_configurations.txt
index 8e1ccd8a..f0210132 100644
--- a/doc/server_configurations.txt
+++ b/doc/server_configurations.txt
@@ -4551,18 +4551,18 @@ require'lspconfig'.gitlab_ci_ls.setup{}
```
- `filetypes` :
```lua
- { "yaml" }
+ { "yaml.gitlab" }
```
- `init_options` :
```lua
{
- cache_path = "/home/user/.cache/gitlab-ci-ls/",
- log_path = "/home/user/.cache/gitlab-ci-ls//log/gitlab-ci-ls.log"
+ cache_path = "util.path.join(vim.loop.os_homedir(), '.cache/gitlab-ci-ls/')",
+ log_path = "util.path.join(util.path.join(vim.loop.os_homedir(), '.cache/gitlab-ci-ls/'), 'log/gitlab-ci-ls.log')"
}
```
- `root_dir` :
```lua
- <function 1>
+ util.root_pattern('.gitlab*', '.git')
```
@@ -13324,7 +13324,7 @@ require'lspconfig'.yamlls.setup{}
```
- `filetypes` :
```lua
- { "yaml", "yaml.docker-compose" }
+ { "yaml", "yaml.docker-compose", "yaml.gitlab" }
```
- `root_dir` :
```lua