Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Any plans for Clojure support? #48

Open
anonimitoraf opened this issue Jul 31, 2023 · 5 comments
Open

Any plans for Clojure support? #48

anonimitoraf opened this issue Jul 31, 2023 · 5 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@anonimitoraf
Copy link

Hi Mickey,

This package looks great! Just wondering if there's plan for Clojure support? I know that Emacs 29 doesn't ship with Clojure treesitter, but I see a third-party package. Is this a blocker?

@mickeynp
Copy link
Owner

mickeynp commented Aug 1, 2023

The only blocker is someone writing the integration. Though, note, that Combobulate will work fine with lisp-like languages, it does not have the same breadth of features that may expect it to, if you're using Paredit or suchlike.

@anonimitoraf
Copy link
Author

Cool, I might make a PR when I get some time to write the integration for Clojure. And yep, I personally find that I use maybe 4 or 5 structural editing/navigation commands so not a problem for me!

@mickeynp mickeynp added enhancement New feature or request good first issue Good for newcomers labels Aug 17, 2023
@philip-wernersbach
Copy link

philip-wernersbach commented Sep 8, 2023

@mickeynp Do you have an estimate on how much work this would take? I’m interested in helping out, but “good first issue” can mean a lot of things 😄

@mickeynp
Copy link
Owner

mickeynp commented Sep 8, 2023

Well, if you know nothing about CSTs, tree-sitter and so forth, that'll definitely slow you down a bit until you get the hang of it.

The main problem is that Combobulate's docs for this is a bit, ah... well, missing. You'd have to look at another language to see how it's done. But you can probably create something in a few mandays' worth of playing around. The hardest -- and it's a WIP for me to clean this up -- is dragging elements; the second-hardest is sibling navigation. Everything else is just a case of throw stuff at the wall and see what sticks.

@mickeynp
Copy link
Owner

mickeynp commented Sep 8, 2023

CSS / Yaml are two small, and basic, modes. They might be worthwhile starting points.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants