Skip to content

Commit 4949614

Browse files
[complete] Add a comment about flex style priority
1 parent d430ab3 commit 4949614

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cider-completion.el

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -297,6 +297,8 @@ Only affects the `cider' completion category.`"
297297
(unless found-styles
298298
(setq found-styles '(styles basic)))
299299
(unless (member 'flex found-styles)
300+
;; This expression makes sure that 'flex style has a priority over other
301+
;; styles, see https://github.com/clojure-emacs/cider/pull/3696.
300302
(setq found-styles (apply #'list 'styles 'flex (cdr found-styles))))
301303
(add-to-list 'completion-category-overrides (apply #'list 'cider found-styles (when found-cycle
302304
(list found-cycle))))))

0 commit comments

Comments
 (0)