completion/ivy: fewer false positives with +ivy/tasks

This commit is contained in:
Henrik Lissner 2017-05-10 14:05:09 +02:00
parent 6aaa83bbd0
commit d99519d077

View file

@ -102,7 +102,7 @@ limit to buffers in the current workspace."
(concat " -- "
(shell-quote-argument (concat "\\s("
(string-join (mapcar #'car +ivy-task-tags) "|")
")([\\s:]|\([^)]+\):?)")))
")([\\s:]|\\([^)]+\\):?)")))
(if arg buffer-file-name ".")))
"\n" t))))