| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | feat(gh_actions_ls): handle "actions/readFile" request #4046 | Julio GarcĂa | 2025-09-01 | 1 | -0/+15 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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, }, }, }, | ||||
| * | fix: separate type annotation from `@brief` docstring #4017 | Igor Lacerda | 2025-08-19 | 1 | -0/+1 |
| | | |||||
| * | chore: add type annotation for configs | Igor | 2025-08-18 | 1 | -0/+1 |
| | | |||||
| * | fix(gh_actions_ls): use `root_dir`, add `init_options` #3857 | Chris Grieser | 2025-05-21 | 1 | -7/+14 |
| | | | | | | 1. Replace `root_markers` and `workspace_required = true` with a `root_dir` function that checks the file is located in the correct location. This prevents some edge cases where the LSP would still attach to non-workflow files. This also makes unnecessary to use a `yaml.github` filetype, [as the readme of the lsp describes](https://github.com/lttb/gh-actions-language-server?tab=readme-ov-file#add-yamlgithub-filetype-detection). 2. add an empty `init_options` table, since such a table is apparently needed by the LSP: https://github.com/neovim/nvim-lspconfig/pull/3713#issuecomment-2857394868 | ||||
| * | docs: cleanup | Justin M. Keyes | 2025-04-18 | 1 | -14/+14 |
| | | | | | | - brief should live at the top of each file - fix indentation for some docs | ||||
| * | fix(gh_actions_ls): workspace_required=true #3722 | Chris Grieser | 2025-04-14 | 1 | -1/+3 |
| | | | | | see https://github.com/neovim/nvim-lspconfig/pull/3713#issuecomment-2801407962 (Note that `workspace_required` requires nightly or the upcoming nvim 0.11.1) | ||||
| * | feat(gh_actions_ls): add `vim.lsp.config` support #3713 | Chris Grieser | 2025-04-13 | 1 | -0/+31 |
