LhKipp / tree-sitter-nu

A tree-sitter grammar for the nushell language

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

highlighting is slightly off with strings

amtoine opened this issue Β· comments

hello there πŸ‘‹ πŸ˜‹

i've been using helix for a few days now and really enjoy it πŸ‘

however, i have a slight issue with nushell scripts: see helix-editor/helix#4162

i'm new to all that grammar/syntax stuff, do you have an idea to fix that? πŸ˜‹
can i help in any way? 😌

cheers πŸŽ‰

Hi amtoine,

thanks for your feedback. I've added a fix for your problem at hand.

If you want to be of help next time, you can either open a PR with one of the following:

  • a fix and a minimal test case
  • a minimal failing test case

Cheers

thanks for your feedback. I've added a fix for your problem at hand.

thanks a lot! 😌
to be sure, is the fix 695e3ec..eb95bda on the main branch or only a subset of commits? πŸ˜‹

If you want to be of help next time, you can either open a PR with one of the following:

  • a fix and a minimal test case
  • a minimal failing test case

not sure i understand how tree-sitter works for now, but got it πŸ˜‰

i've been able to try the new revision and the bad highlighting is gone 🀩
good job man πŸ’ͺ