nushell / nushell/tree-sitter-nu

highlights.scm errors

Open
#145 10 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Nushell
Stars
180
Forks
38
Avg merge
12m
Merged PRs (30d)
1

Description

A report this morning in editor-support in discord had me reinstalling/recompiling tree-sitter-nu. I was presented with errors.
image

This changed stopped the errors but I'm not sure it's a valid change.

;(long_flag ["="] @punctuation.special)
;(short_flag ["="] @punctuation.special)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with highlights.scm and reproduce the reported errors after recompiling tree-sitter-nu. Compare the errors with the shown query changes and determine whether those changes are valid; done means the errors are resolved by a confirmed grammar change.

Written by the indexing model from the issue text.

Assessment

Domain
compilers
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.