From da0b236ef3c7fdac8aec758fa88b028cd9358495 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 15 Apr 2024 06:10:58 +0000 Subject: docs: update server_configurations.md skip-checks: true --- doc/server_configurations.md | 10 +++++----- doc/server_configurations.txt | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) (limited to 'doc') 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 - + 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 - + 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 -- cgit v1.2.3-70-g09d2