Fork me on GitHub
#emacs
<
2023-03-12
>
bozhidar09:03:13

This might be interesting to some of you https://metaredux.com/posts/2023/03/12/clojure-mode-meets-tree-sitter.html

👍 24
❤️ 18
2
💯 4
otfrom09:03:27

I'm wondering as well how this will work with something like combobulate

jasonjckn02:03:30

thank you @UDVJE9RE3 and @UG1C3AD5Z for all your work here

💯 2
🙏 2
lispers-anonymous22:03:14

The setup is not too complicated now. With emacs 29, just running (package-vc-install "") is enough 🙂

jasonjckn22:03:03

i don’t think you even need to compile clojure shared object in latest 29, you can just do (treesit-install-language-grammar ‘clojure)

lispers-anonymous22:03:41

Clojure-ts-mode will run treesit-install-language-grammar for you if it doesn't detect the shared library. Maybe that's a little aggressive right now, but I've not run into any problems yet with it

🙌 2
ericdallo11:03:59

Well done 👏 That reminds me that lsp-mode needs to be updated to consider clojure-ts-mode as a clojure LSP buffer

👍 4
lispers-anonymous16:03:17

I need to do the same for eglot...

👍 2