]> code.delx.au - gnu-emacs-elpa/commitdiff
Make ivy--regex work with "[^ ]"
authorOleh Krehel <ohwoeowho@gmail.com>
Wed, 13 Apr 2016 17:04:58 +0000 (19:04 +0200)
committerOleh Krehel <ohwoeowho@gmail.com>
Wed, 13 Apr 2016 17:04:58 +0000 (19:04 +0200)
* ivy.el (ivy--split): Add a work around to not consider spaces like
"[^ ]". It's pretty hacky, the space has to come right after "[^".
But better than nothing.

* ivy-test.el (ivy--split): Add test.

Use-case: open a freedict file, where each word being defined is with no
indentation and the explanation is with indentation.

`swiper' or `counsel-grep' will now work properly with input "^[^ ]".


No differences found