Skip to content
Discussion options

You must be logged in to vote

This decision of how the keys work was inspired by fireplace and CIDER and was designed at a time that treesitter didn't exist. This meant that I was limited to walking the code and using regexes to find the right pairs of parens. That plus the desire for logic like "evaluate a (comment) block but ignore the comment and evaluate the first level of form below that your cursor is within" makes it easy (in my opinion) to justify implementing the code selection in the code itself.

This decision ended up being hugely beneficial because it meant I could migrate all clients and users gracefully onto tree sitter with added features with backwards compatible support for those that do not wish to u…

Replies: 2 comments 7 replies

Comment options

You must be logged in to vote
3 replies
@PowerUser64
Comment options

@Olical
Comment options

@PowerUser64
Comment options

Answer selected by PowerUser64
Comment options

You must be logged in to vote
4 replies
@PowerUser64
Comment options

@russtoku
Comment options

@PowerUser64
Comment options

@russtoku
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants