Skip to content

Commit

Permalink
Update ivy-bibtex.el
Browse files Browse the repository at this point in the history
There is a bug in `ivy-bibtex-display-transformer` that causes marking candidates to stop working. The issue is the space that gets inserted. It should be an empty space.
  • Loading branch information
jkitchin authored Sep 24, 2021
1 parent b856620 commit 7c16399
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ivy-bibtex.el
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@
(let* ((width (- (frame-width) 2))
(idx (get-text-property 1 'idx candidate))
(entry (cdr (nth idx (ivy-state-collection ivy-last)))))
(s-concat (if (s-starts-with-p ivy-mark-prefix candidate) ivy-mark-prefix " ")
(s-concat (if (s-starts-with-p ivy-mark-prefix candidate) ivy-mark-prefix "")
(bibtex-completion-format-entry entry width))))

(defmacro ivy-bibtex-ivify-action (action name)
Expand Down

0 comments on commit 7c16399

Please sign in to comment.