github-actions-languageserver.nvim
is add github-actions-languageserver setup config into 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
andrepos
to be passed toinit_params
, so if you use the default values, auto-completion will not work for globalenv
andvars
, and for custom actionargs
etc.