Add search config option to not match case when search panel is opened #4

Merged
marcuswestin merged 2 commits from add-search-config-to-not-match-case into main 2021-09-06 14:32:36 +02:00
marcuswestin commented 2021-09-04 17:43:39 +02:00 (Migrated from github.com)

When opening the search panel, I want to be able to have "match case" not active.

This patch adds a search config option to do so.

When opening the search panel, I want to be able to have "match case" not active. This patch adds a search config option to do so.
marijnh (Migrated from github.com) reviewed 2021-09-06 09:43:32 +02:00
marijnh (Migrated from github.com) commented 2021-09-06 09:43:32 +02:00

I think you want ?? instead of || here, so that if fallback is given its setting is preserved.

I think you want `??` instead of `||` here, so that if `fallback` is given its setting is preserved.
marcuswestin (Migrated from github.com) reviewed 2021-09-06 14:19:27 +02:00
marcuswestin (Migrated from github.com) commented 2021-09-06 14:19:27 +02:00

Yes! ?? is right.

It's such a nice operator :)

Yes! ?? is right. It's such a nice operator :)
marijnh commented 2021-09-06 14:33:32 +02:00 (Migrated from github.com)

Thanks!

Thanks!
marcuswestin commented 2021-09-06 14:58:28 +02:00 (Migrated from github.com)

Thank you!

Looking forward to making more contributions 👍

Thank you! Looking forward to making more contributions 👍
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
codemirror/search!4
No description provided.