bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#71679: 29.3; treesit-node-child function chokes and crashes emacs fo


From: Mauritz Stenek
Subject: bug#71679: 29.3; treesit-node-child function chokes and crashes emacs for nodes with large number of child nodes
Date: Thu, 20 Jun 2024 11:07:28 -0600

On 2024-06-20 at 10:50, Eli Zaretskii <eliz@gnu.org> wrote:

[Please use Reply All to keep the bug tracker CC'ed.]

Will do -- I'm new at this.

From: Mauritz Stenek <mstenek@disroot.org>
Date: Thu, 20 Jun 2024 10:36:09 -0600

Here's the recipe:

1) launch emacs -q

2) Execute the following:

```
(setq treesit-language-source-alist
'((julia "https://github.com/tree-sitter/tree-sitter-julia";)))

(setq major-mode-remap-alist
      '((julia-mode . julia-ts-mode)))

(treesit-install-language-grammar 'julia)
```

Thanks, but which julia-mode and julia-ts-mode are you using?

Julia mode: https://github.com/JuliaEditorSupport/julia-emacs
Julia ts mode: https://github.com/nick4f42/julia-ts-mode

Or maybe it will be easier for everyone if you show a recipe with
java-ts-mode?

Its basically the same as the julia example, just replace the references to julia with java.

--
Mauritz Stenek <mstenek@disroot.org>





reply via email to

[Prev in Thread] Current Thread [Next in Thread]