From 16a3a662a0e7397ccafe6bca89bb8a30bc1c022c Mon Sep 17 00:00:00 2001 From: Janis Hutz Date: Mon, 9 Feb 2026 11:12:43 +0100 Subject: [PATCH] [Actions] Add github actions language server --- nvim/lua/plugins/lsp/ls/gh-actions.lua | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 nvim/lua/plugins/lsp/ls/gh-actions.lua diff --git a/nvim/lua/plugins/lsp/ls/gh-actions.lua b/nvim/lua/plugins/lsp/ls/gh-actions.lua new file mode 100644 index 0000000..e785fd7 --- /dev/null +++ b/nvim/lua/plugins/lsp/ls/gh-actions.lua @@ -0,0 +1,20 @@ +-- ┌ ┐ +-- │ GitHub Actions │ +-- └ ┘ +local lsp = vim.lsp + +local capabilities = require("lsp-options").capabilities +local on_attach = require("lsp-options").on_attach + +lsp.config("gh_actions_ls", { + capabilities = capabilities, + on_attach = on_attach, + filetypes = { + "yaml.actions", + }, +}) + + +-- ── Enable configs ─────────────────────────────────────────────── +local enable = vim.lsp.enable +enable("gh_actions_ls")