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

fix(meow-next-thing): allow no include-syntax #689

Merged

Conversation

45mg
Copy link
Contributor

@45mg 45mg commented Dec 4, 2024

With the addition of meow-next-thing-include-syntax (13733e1), meow--fix-thing-selection-mark expects to find an entry in this alist corresponding to thing. This means that when the user defines their own thing and sets meow-word-thing or meow-symbol-thing to use it, they also need to add a corresponding entry to this alist.

I'll admit that I don't understand why the include-syntax option needed to be introduced in meow--fix-thing-selection-mark (c0878ac). However, my own definitions of meow-word-thing and meow-symbol-thing worked fine without it. Based on that, my logic in this commit is that users shouldn't have to add to meow-next-thing-include-syntax unless they explicitly need the skip-syntax-* shrinking that was added to meow--fix-thing-selection-mark.

With the addition of `meow-next-thing-include-syntax` (13733e1),
`meow--fix-thing-selection-mark` expects to find an entry in this alist
corresponding to `thing`. This means that when the user defines their
own `thing` and sets `meow-word-thing` or `meow-symbol-thing` to use it,
they also need to add a corresponding entry to this alist.

I'll admit that I don't understand why the `include-syntax` option
needed to be introduced in `meow--fix-thing-selection-mark` (c0878ac).
However, my own definitions of `meow-word-thing` and `meow-symbol-thing`
worked fine without it. Based on that, my logic in this commit is that
users shouldn't have to add to `meow-next-thing-include-syntax` unless
they explicitly need the `skip-syntax-*` shrinking that was added to
`meow--fix-thing-selection-mark`.
@DogLooksGood DogLooksGood merged commit 73f2dd2 into meow-edit:master Dec 6, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants