Don't autocomplete tags within backtick Fix #6135

Also fix autocompleting while cursor is part of a word
This commit is contained in:
Gabriel Horner
2022-07-22 15:48:27 -04:00
committed by Andelf
parent 94f002232b
commit 5f8a4ed0bf
2 changed files with 37 additions and 2 deletions

View File

@@ -2758,7 +2758,7 @@
(do (util/stop e)
(autopair input-id key format nil))
hashtag?
(and hashtag? (re-find #"\s+$" value))
(do
(commands/handle-step [:editor/search-page-hashtag])
(if (= key "#")