-
-
Notifications
You must be signed in to change notification settings - Fork 84
neovim: add lua language server lint checks to CI #2576
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Labels
app-neovim
Issues related to neovim support
Comments
we would also ideally find a way to have a single source of truth for the lua language server config. Today it's all in |
fidgetingbits
added a commit
to fidgetingbits/cursorless
that referenced
this issue
Jul 30, 2024
Fixes cursorless-dev#2576. Adds lua-language-server linter to pre-commit. There is no existing pre-commit hook, and also no Ubuntu package for this linter. I install it using nix package manager, as nixpkgs is one of the only places with a package. However, there is also a recent bug that prevents --check invocation of the cli. I have patched this in the lua-language-server using a nix overlay, until the PR is merged. This also moves the linting configuration to a single source of true, that vscode, pre-commit, CI can all use.
fidgetingbits
added a commit
to fidgetingbits/cursorless
that referenced
this issue
Jul 30, 2024
- Implement lua-language-server linter in pre-commit - Install via Nix due to lack of Ubuntu package - Apply patch for --check CLI bug using Nix overlay - Centralize linting config for VSCode, pre-commit, and CI Fixes cursorless-dev#2576
fidgetingbits
added a commit
to fidgetingbits/cursorless
that referenced
this issue
Jul 31, 2024
- Implement lua-language-server linter in pre-commit - Install via Nix due to lack of Ubuntu package - Apply patch for --check CLI bug using Nix overlay - Centralize linting config for VSCode, pre-commit, and CI Fixes cursorless-dev#2576
3 tasks
github-merge-queue bot
pushed a commit
that referenced
this issue
Aug 1, 2024
- Implement lua-language-server linter in pre-commit - Install via Nix due to lack of Ubuntu package - Apply patch for --check CLI bug using Nix overlay - Centralize linting config for VSCode, pre-commit, and CI Fixes #2576 ## Checklist - [ ] I have added [tests](https://www.cursorless.org/docs/contributing/test-case-recorder/) - [ ] I have updated the [docs](https://github.com/cursorless-dev/cursorless/tree/main/docs) and [cheatsheet](https://github.com/cursorless-dev/cursorless/tree/main/cursorless-talon/src/cheatsheet) - [ ] I have not broken the cheatsheet --------- Co-authored-by: Pokey Rule <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Atm warnings from vscode triggered by sumneko.lua plugin (using lua language server) don't fire in CI. This should ideally added via .pre-commit so people that run that locally can also see the errors in advance.
The text was updated successfully, but these errors were encountered: