LSP/DAP/Treesitter support?

I think a relatively easy way to add lots of text-editor-like functionality would be to make a Language server client in nyxt, as well as support for treesitter (syntax highlighting).

Using these tools would give nyxt lots of new capabilities without a tremendous amount of development/maintenance time. This would of course make nyxt much more like an “emacs 2.0” than it already is.

What do you all think? Would the above functionality be worth implementing?

Yes, I thought about treesitter after Combobulate: Structured Movement and Editing with Tree-Sitter - Mastering Emacs. And LSP was there in our discussions for a long time. I remember @jmercouris mentioning it from time to time.

But there’s no clear timeline for when we want/plan to implement these. So if someone wants to implement them, our editor-mode API is the starting point one can hook into for custom editors.

P.S. Sorry for the late reply :sweat:

1 Like