nushell-ts-mode
nushell-ts-mode copied to clipboard
Error with up-to-date grammar
When I use up-to-date tree-sitter-nu grammar, I got the follow error:
(jit-lock-function 1) signaled (treesit-query-error "Node type error at" 29 "[\"alias\" \"def\" \"let\" \"mut\" \"source\"] @font-lock-keyword-face" "Debug the query with `treesit-query-validate'")
The problem seems related to the source keyword. If I remove this keyword from nushell-ts-mode--keywords list, the error disappears.