Don't use smart-tab, until I can get corfu-complete to work with it

This commit is contained in:
Vedang Manerikar 2024-12-18 16:51:50 +05:30
parent e53b122c0a
commit 45d7d8e25d
2 changed files with 3 additions and 12 deletions

View file

@ -2136,7 +2136,7 @@ Also see [[#h:567bb00f-1d82-4746-93e5-e0f60721728a][the =unravel-completion.el=
(completion-at-point-functions . cape-file))
#+end_src
** The =unravel-completion.el= for in-buffer completion using TAB (~smart-tab~)
** COMMENT The =unravel-completion.el= for in-buffer completion using TAB (~smart-tab~)
:PROPERTIES:
:CUSTOM_ID: h:240488D1-B225-4877-86EE-40D5318B0A7E
:CREATED: [2024-12-18 Wed 14:59]
@ -2154,7 +2154,8 @@ functionality correctly.
:config
(setq smart-tab-using-hippie-expand t)
(setq smart-tab-expand-eolp nil)
(setq smart-tab-user-provided-completion-function 'corfu-complete)
;; (setq smart-tab-user-provided-completion-function #'corfu-complete)
(setq smart-tab-user-provided-completion-function nil)
(global-smart-tab-mode 1))
#+end_src

View file

@ -220,16 +220,6 @@
(completion-at-point-functions . cape-emoji)
(completion-at-point-functions . cape-file))
;;; smart-tab (TAB to do completion reliably)
(use-package smart-tab
:ensure (:repo "https://git.genehack.net/genehack/smart-tab.git" :branch "main")
:after corfu
:config
(setq smart-tab-using-hippie-expand t)
(setq smart-tab-expand-eolp nil)
(setq smart-tab-user-provided-completion-function 'corfu-complete)
(global-smart-tab-mode 1))
;;; Enhanced minibuffer commands (consult.el)
(use-package consult
:ensure t