nushell / tree-sitter-nu

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

Fix parsing of records when the key is the same as the keyword #69

Closed kit494way closed 10 months ago

kit494way commented 10 months ago

After #68 , parsing of record fails when the key is same as the keyword (e.g. error). This pr fixes the bug.

Before スクリーンショット 2024-01-13 094954

After スクリーンショット 2024-01-13 095204

fdncred commented 10 months ago

nice work!