aboutsummaryrefslogtreecommitdiffstats
path: root/lsp/expert.lua
diff options
context:
space:
mode:
authorJulio GarcĂ­a <jugarpeupv@gmail.com>2025-09-01 19:40:46 +0200
committerGitHub <noreply@github.com>2025-09-01 10:40:46 -0700
commit7e585e3f37bcf46761adf5e76dd343fb2d8e6670 (patch)
tree853666f5053d72e48d31e8154ac17185bbdc04b3 /lsp/expert.lua
parentdocs: update configs.md (diff)
downloadnvim-lspconfig-7e585e3f37bcf46761adf5e76dd343fb2d8e6670.tar
nvim-lspconfig-7e585e3f37bcf46761adf5e76dd343fb2d8e6670.tar.gz
nvim-lspconfig-7e585e3f37bcf46761adf5e76dd343fb2d8e6670.tar.bz2
nvim-lspconfig-7e585e3f37bcf46761adf5e76dd343fb2d8e6670.tar.lz
nvim-lspconfig-7e585e3f37bcf46761adf5e76dd343fb2d8e6670.tar.xz
nvim-lspconfig-7e585e3f37bcf46761adf5e76dd343fb2d8e6670.tar.zst
nvim-lspconfig-7e585e3f37bcf46761adf5e76dd343fb2d8e6670.zip
feat(gh_actions_ls): handle "actions/readFile" request #4046
Fixes https://github.com/lttb/gh-actions-language-server/issues/5 Implement a custom handler for the "actions/readFile" request in the gh_actions_ls config. This handler reads the requested file from disk and returns its contents if the file is readable. This improves integration with the GitHub Actions language server by supporting file content requests. Here is how the vscode github actions extension sets the handler: https://github.com/github/vscode-github-actions/blob/main/src/workflow/languageServer.ts#L68 TODO: We could also provide an implementation for populating the init_options properly, docs currently suggest an empty table. For the lsp to work properly, it should be populated with this "shape": init_options = { sessionToken = session_token, repos = { { id = 1008200293, owner = org_name, name = repo_name, workspaceUri = "file://" .. vim.fn.getcwd(), organizationOwned = true, }, }, },
Diffstat (limited to 'lsp/expert.lua')
0 files changed, 0 insertions, 0 deletions