github-actions-languageserver.nvim
is add github-actions-languageserver setup config into lspconfig.
- Node.js >= 16.x
- nvim-lspconfig
{ "strozw/github-actions-languageserver.nvim" }
require("github-actions-languageserver").setup()
local lspconfig = require("lspconfig")
lspconfig.github_actions.setup({
--@see https://github.com/actions/languageservices/blob/main/languageserver/src/initializationOptions.ts#L4-L31
init_params = {}
})
Caution
At this time, we have not investigated how to obtain the settionToken
and repos
to be passed to init_params
, so if you use the default values, auto-completion will not work for global env
and vars
, and for custom action args
etc.