https://www.masteringemacs.org/article/tree-sitter-complicat...
https://www.masteringemacs.org/article/tree-sitter-complicat...
Thanks, your articles and your book are the best guides into the world of Emacs.
Do you have any tips or guides for using treesitter for syntax highlighting/structural editing and eglot/LSP-mode for everything else?
If you don't have tree-sitter your syntax highlighting will be done by the regex based font-lock-mode. I don't think eglot/lsp-mode make that slower, and I believe tree-sitter should speed it up (and make it more correct) without affecting them. I haven't tried it yet, though.
I don't think I'd want that. Syntax highlighting and indentation are things I want instant feedback from.
That affects the answer to the question. I assume you'd need to persuade lsp-mode not to do this and leave it to tree-sitter, but I don't know how to do that.
https://emacs-lsp.github.io/lsp-mode/page/settings/semantic-...
What lang do you use?