Skip to content
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

Pipeline #151

Open
mrdgo opened this issue Nov 21, 2024 · 0 comments
Open

Pipeline #151

mrdgo opened this issue Nov 21, 2024 · 0 comments

Comments

@mrdgo
Copy link
Contributor

mrdgo commented Nov 21, 2024

while working on #117 I noticed that the current pipeline didn't prevent me from breaking things. In that case, neovim crashed in certain circumstances. So I tried to reproduce that in the pipeline, but couldn't really setup something sensible.

I got some hints about what to consider and where to find some docs in this comment.

Currently, our pipeline does

  1. checkout the parser
  2. install npm and treesitter
  3. lint, using prettier
  4. run tests via tree-sitter test

If we decide to keep queries within queries/nu/*.scm and an nvim plugin via plugin/init.lua, we might want to:

  1. assert that queries are valid with the current grammar
  2. try to highlight a .nu file in neovim, testing plugin/init.lua. Or at least open a *.nu file in neovim.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant