diff options
| author | awy <awy@awy.one> | 2025-11-19 19:35:16 +0300 |
|---|---|---|
| committer | awy <awy@awy.one> | 2025-11-19 19:35:16 +0300 |
| commit | 790eccde5e3bb6a187a47c34fa905bab064fad71 (patch) | |
| tree | 4eeaa7b05b47442f6d72a19194e0e161159bb221 /.config/nvim/lsp/gitlab_ci_ls.lua | |
| parent | c767767a21064a4ce8cade883a3c59f2f2d32165 (diff) | |
| download | hyprdots-790eccde5e3bb6a187a47c34fa905bab064fad71.tar.gz | |
yep
Diffstat (limited to '.config/nvim/lsp/gitlab_ci_ls.lua')
| -rw-r--r-- | .config/nvim/lsp/gitlab_ci_ls.lua | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/.config/nvim/lsp/gitlab_ci_ls.lua b/.config/nvim/lsp/gitlab_ci_ls.lua deleted file mode 100644 index d2f80ab..0000000 --- a/.config/nvim/lsp/gitlab_ci_ls.lua +++ /dev/null @@ -1,26 +0,0 @@ ----@brief ---- ---- https://github.com/alesbrelih/gitlab-ci-ls ---- ---- Language Server for Gitlab CI ---- ---- `gitlab-ci-ls` can be installed via cargo: ---- cargo install gitlab-ci-ls - -local util = require 'lspconfig.util' - -local cache_dir = vim.uv.os_homedir() .. '/.cache/gitlab-ci-ls/' - ----@type vim.lsp.Config -return { - cmd = { 'gitlab-ci-ls' }, - filetypes = { 'yaml.gitlab' }, - root_dir = function(bufnr, on_dir) - local fname = vim.api.nvim_buf_get_name(bufnr) - on_dir(util.root_pattern('.git', '.gitlab*')(fname)) - end, - init_options = { - cache_path = cache_dir, - log_path = cache_dir .. '/log/gitlab-ci-ls.log', - }, -} |