I've tried to this: git clone https://github.com/tree-sitter/tree-sitter-bash cd tree-sitter-bash make sudo make install
Then, after `emacs -Q` i evaluate `(setq treesit-extra-load-path '("/usr/local/lib"))` and try to create a code block with the bash-ts mode and get the same thing. Do i maybe need to spin a vm and give all the possible reproduction steps? I'm using void linux. On Wednesday, March 12th, 2025 at 7:18 PM, Ihor Radchenko <yanta...@posteo.net> wrote: > the_wurfkreuz via "General discussions about Org-mode." > emacs-orgmode@gnu.org writes: > > > Reproduction: > > 1. emacs -Q > > 2. In the scratch buffer: M-x org-mode > > 3. M-x treesit-install-language-grammar > > Write "bash" and choose interactive installation, then all the default > > options. > > 3. Paste this code: > > > > #+begin_src bash-ts > > [ 3 -eq 3 -a \( 2 -eq 2 -a 1 -eq 1 \) ] && echo “Parentheses can be used” > > #+end_src > > > > It creates this message: "Indentation setup for shell type zsh". And the > > code block uses the sh-mode instead of the bash-ts mode. > > > I cannot reproduce with system-installed tree-sitter grammar. > > -- > Ihor Radchenko // yantar92, > Org mode maintainer, > Learn more about Org mode at https://orgmode.org/. > > Support Org development at https://liberapay.com/org-mode, > > or support my work at https://liberapay.com/yantar92