mirror of
https://github.com/logseq/logseq.git
synced 2026-02-01 22:47:36 +00:00
fix: don't create a space between # and [[]] when auto-complete
This commit is contained in:
@@ -344,6 +344,7 @@
|
||||
(or (string/starts-with? last-pattern block-ref/left-parens)
|
||||
(string/starts-with? last-pattern page-ref/left-brackets)))
|
||||
(and s (string/starts-with? s "{{embed"))
|
||||
(and s (= (last s) \#) (string/starts-with? last-pattern "[["))
|
||||
(and last-pattern
|
||||
(or (string/ends-with? last-pattern gp-property/colons)
|
||||
(string/starts-with? last-pattern gp-property/colons)))))))]
|
||||
|
||||
Reference in New Issue
Block a user