diff options
author | David Morgan <djm_uk@protonmail.com> | 2024-10-07 14:02:09 +0100 |
---|---|---|
committer | David Morgan <djm_uk@protonmail.com> | 2024-10-07 14:02:09 +0100 |
commit | 9064e27e28aacf4235a226987818a107dfa30ad3 (patch) | |
tree | f433c1163afa152561439827bf0cf7708e958749 | |
parent | f308fc30af35b11bf87f4ebd8a026d8b6f3cd046 (diff) | |
download | dotfiles-9064e27e28aacf4235a226987818a107dfa30ad3.tar.gz |
Tidy hippie-expand-try-functions-list
-rw-r--r-- | .emacs.d/lisp/init-completion.el | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/.emacs.d/lisp/init-completion.el b/.emacs.d/lisp/init-completion.el index c133e91..35cf374 100644 --- a/.emacs.d/lisp/init-completion.el +++ b/.emacs.d/lisp/init-completion.el @@ -24,19 +24,18 @@ (dabbrev-case-replace nil)) (use-feature hippie-expand + :custom + (hippie-expand-try-functions-list '(try-expand-dabbrev + try-expand-all-abbrevs + try-expand-dabbrev-all-buffers + try-expand-dabbrev-from-kill + try-complete-file-name-partially + try-complete-file-name + try-expand-list + try-expand-line + try-complete-lisp-symbol-partially + try-complete-lisp-symbol)) :config - (setq hippie-expand-try-functions-list - '(;yas-hippie-try-expand - try-expand-dabbrev - try-expand-all-abbrevs - try-expand-dabbrev-all-buffers - try-expand-dabbrev-from-kill - try-complete-file-name-partially - try-complete-file-name - try-expand-list - try-expand-line - try-complete-lisp-symbol-partially - try-complete-lisp-symbol)) ;; https://www.emacswiki.org/emacs/HippieExpand#h5o-9 (defadvice he-substitute-string (after he-paredit-fix) "Remove extra paren when expanding line in paredit." |