Automatic indentation of tree-sitter doesn't work well. #282
-
Dear everyone. Automatic indentation of tree-sitter doesn't work well for me.
I have elpa package
and on FreeBSD,
I have a simple (use-package treesit
:config
(setq treesit-font-lock-level 4))
(use-package treesit-auto
:ensure t
:config
(setq treesit-auto-install t)
(global-treesit-auto-mode)) The steps to reproduce are as follows.
void test(void)
{
do🔳
Expected behaviour is automatic indentation. I want to move the cursor to the 5th column of the next line. Thanx. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 10 replies
-
Treesit.el and tree-sitter.el are two different implementations. Suppose you are looking to report issues to treesit.el, you should directly report to emacs-devel. |
Beta Was this translation helpful? Give feedback.
Treesit.el and tree-sitter.el are two different implementations. Suppose you are looking to report issues to treesit.el, you should directly report to emacs-devel.