julia-ts-mode
julia-ts-mode copied to clipboard
Displaying Julia files using julia-ts-mode fails on Emacs 30.0.5
I apologize if this is a basic issue, as I'm very new to using tree-sitter. I followed the installation procedures and now julia-ts-mode
is the default major mode for opening .ji
files, but when I open such a file with it, there is almost no syntax highlighting at all and I get an error in the messages buffer:
Error during redisplay: (jit-lock-function 1) signaled (treesit-query-error "Node type error at" 177 "(assignment (identifier) @font-lock-variable-name-face (_)) (assignment (field_expression (identifier) \".\" (identifier) @font-lock-variable-name-face) (operator)) (assignment (bare_tuple (identifier) @font-lock-variable-name-face)) (assignment (bare_tuple (field_expression (identifier) \".\" (identifier) @font-lock-variable-name-face)) (operator)) (local_statement (identifier) @font-lock-variable-name-face) (let_binding (identifier) @font-lock-variable-name-face) (global_statement (identifier) @font-lock-variable-name-face)" "Debug the query with `treesit-query-validate'")
I looked up the function treesit-query-validate
, but it wants a query as an argument and I couldn't find out which one. I also tried re-installing julia-ts-mode
, but it still didn't work. What could be the issue?