aboutsummaryrefslogtreecommitdiff
path: root/helix-term/src/ui
diff options
context:
space:
mode:
authorMatouš Dzivjak2022-02-10 02:04:40 +0000
committerGitHub2022-02-10 02:04:40 +0000
commitfdb9a1677b937e4975ff26d252c7da9f2a5df1f0 (patch)
tree9a18098cd0daf405f095567bfd1d462dbefb06be /helix-term/src/ui
parent59b5bf31780c937096a3f6bbf99b4b0bb7b35494 (diff)
feat(editor): add config for search wrap_around (#1516)
* feat(editor): add config for search wrap_around Fixes: https://github.com/helix-editor/helix/issues/1489 * Move search settings into separate config * Disable linter
Diffstat (limited to 'helix-term/src/ui')
-rw-r--r--helix-term/src/ui/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/helix-term/src/ui/mod.rs b/helix-term/src/ui/mod.rs
index 5d650c65..7bbd9ced 100644
--- a/helix-term/src/ui/mod.rs
+++ b/helix-term/src/ui/mod.rs
@@ -65,7 +65,7 @@ pub fn regex_prompt(
return;
}
- let case_insensitive = if cx.editor.config.smart_case {
+ let case_insensitive = if cx.editor.config.search.smart_case {
!input.chars().any(char::is_uppercase)
} else {
false