fix(corfu): complete after colon in lispy

This commit is contained in:
StrawberryTea 2024-02-21 16:51:11 -06:00 committed by Luigi Sartor Piucco
parent 14f350a3da
commit a1ba1593fc
No known key found for this signature in database
GPG key ID: 6FF1A01853A47A66

View file

@ -44,6 +44,7 @@
;; However, it should otherwise behave like normal, whatever normal was. ;; However, it should otherwise behave like normal, whatever normal was.
tab-always-indent (if (modulep! +tng) 'complete tab-always-indent)) tab-always-indent (if (modulep! +tng) 'complete tab-always-indent))
(add-to-list 'completion-category-overrides `(lsp-capf (styles ,@completion-styles))) (add-to-list 'completion-category-overrides `(lsp-capf (styles ,@completion-styles)))
(add-to-list 'corfu-auto-commands #'lispy-colon)
(add-to-list 'corfu-continue-commands #'+corfu-move-to-minibuffer) (add-to-list 'corfu-continue-commands #'+corfu-move-to-minibuffer)