strozw / github-actions-languageserver.nvim

MIT License
0 stars 0 forks source link

github-actions-languageserver.nvim

github-actions-languageserver.nvim is add github-actions-languageserver setup config into lspconfig.

Requirements

Installing

with lazy.nvim

    { "strozw/github-actions-languageserver.nvim" }

Usages

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.

Credits