From 9dd0dcfb5af8a284bf3790f892837c6f199c879f Mon Sep 17 00:00:00 2001 From: Kyren223 Date: Thu, 1 May 2025 20:10:53 +0300 Subject: Added github actions lsp --- .config/nvim/lsp/gh_actions_ls.lua | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .config/nvim/lsp/gh_actions_ls.lua (limited to '.config/nvim/lsp') diff --git a/.config/nvim/lsp/gh_actions_ls.lua b/.config/nvim/lsp/gh_actions_ls.lua new file mode 100644 index 0000000..29b0d01 --- /dev/null +++ b/.config/nvim/lsp/gh_actions_ls.lua @@ -0,0 +1,15 @@ +-- https://github.com/lttb/gh-actions-language-server + +return { + capabilities = { + workspace = { + didChangeWorkspaceFolders = { + dynamicRegistration = true, + }, + }, + }, + cmd = { 'gh-actions-language-server', '--stdio' }, + filetypes = { 'yaml' }, + root_markers = { '.github/workflows', '.forgejo/workflows', '.gitea/workflows' }, + workspace_required = true, +} -- cgit v1.3.1