File tree Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 8
8
9
9
### Bugs fixed
10
10
11
+ - [ #3696 ] ( https://github.com/clojure-emacs/cider/pull/3696 ) : Don't eagerly complete a candidate if there are other candidates matching ` flex ` style.
12
+
11
13
## 1.14.0 (2024-05-30)
12
14
13
15
### New features
Original file line number Diff line number Diff line change @@ -297,7 +297,7 @@ Only affects the `cider' completion category.`"
297
297
(unless found-styles
298
298
(setq found-styles '(styles basic)))
299
299
(unless (member 'flex found-styles)
300
- (setq found-styles (append found- styles '( flex))))
300
+ (setq found-styles (apply # 'list ' styles 'flex ( cdr found-styles ))))
301
301
(add-to-list 'completion-category-overrides (apply #'list 'cider found-styles (when found-cycle
302
302
(list found-cycle))))))
303
303
Original file line number Diff line number Diff line change 37
37
(unwind-protect
38
38
(progn
39
39
(it " adds `flex' and `basic' as a fallback"
40
- (let ((expected-category-overrides '((cider (styles basic flex)))))
40
+ (let ((expected-category-overrides '((cider (styles flex basic )))))
41
41
(cider-enable-flex-completion)
42
42
(expect (member 'flex (assq 'styles (assq 'cider completion-category-overrides)))
43
43
:to-be-truthy )
You can’t perform that action at this time.
0 commit comments