Add neovim config
This commit is contained in:
12
nvim/lsp/gitlabcils.lua
Normal file
12
nvim/lsp/gitlabcils.lua
Normal file
@@ -0,0 +1,12 @@
|
||||
-- https://github.com/neovim/nvim-lspconfig/blob/master/lsp/gitlab_ci_ls.lua
|
||||
local cache_dir = vim.uv.os_homedir() .. '/.cache/gitlab-ci-ls/'
|
||||
|
||||
return {
|
||||
cmd = { 'gitlab-ci-ls' },
|
||||
filetypes = { 'yaml.gitlab' },
|
||||
root_markers = { '.git', '.gitlab-ci.yml' },
|
||||
init_options = {
|
||||
cache_path = cache_dir,
|
||||
log_path = cache_dir .. '/log/gitlab-ci-ls.log',
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user