fix(corfu): bind tng tab commands to insert state

These commands were being shadowed by the other Corfu commands
previously.
This commit is contained in:
StrawberryTea 2024-02-17 10:55:19 -06:00 committed by Luigi Sartor Piucco
parent 1257527537
commit eb8d4d646e
No known key found for this signature in database
GPG key ID: 6FF1A01853A47A66

View file

@ -469,10 +469,10 @@ Continues comments if executed from a commented line. Consults
(:when (modulep! :completion corfu +orderless)
[remap completion-at-point] #'+corfu-smart-sep-toggle-escape)
(:when (modulep! :completion corfu +tng)
[tab] #'corfu-next
"TAB" #'corfu-next
[backtab] #'corfu-previous
"S-TAB" #'corfu-previous))
:gi [tab] #'corfu-next
:gi "TAB" #'corfu-next
:gi [backtab] #'corfu-previous
:gi "S-TAB" #'corfu-previous))
(:after corfu-popupinfo
:map corfu-popupinfo-map
"C-<up>" #'corfu-popupinfo-scroll-down