nushell / tree-sitter-nu

A tree-sitter grammar for nu-lang, the language of nushell
MIT License
116 stars 27 forks source link

setting env vars bash style produces errors #146

Open fdncred opened 1 day ago

fdncred commented 1 day ago

This is from nushell's toolkit.nu file image

You can see that setting an env var and running a command, bash style, produces an error.

_EXTRA_=bin nu .github/workflows/release-pkg.nu
blindFS commented 16 hours ago

This would introduce new highlight query then. Some extra manual labor for the maintainers of nvim-treesitter 😂

fdncred commented 16 hours ago

LOL, i'm ok with that. i'd just rather not have errors if we can help it.

blindFS commented 15 hours ago

LOL, i'm ok with that. i'd just rather not have errors if we can help it.

I'll see what I can do. Maybe only fix the parser to get rid of the error, and stash the new query to the next major breaking change.