making repo for config
This commit is contained in:
commit
6261a44aa4
13 changed files with 1243 additions and 0 deletions
39
modules/completion/corfu/autoload/extra.el
Normal file
39
modules/completion/corfu/autoload/extra.el
Normal file
|
@ -0,0 +1,39 @@
|
|||
;;; completion/corfu/autoload.el -*- lexical-binding: t; -*-
|
||||
|
||||
;;;###autoload
|
||||
(defun +corfu-complete-file-at-point ()
|
||||
"Complete a file path from scratch at point"
|
||||
(interactive)
|
||||
(completion-in-region (point) (point) #'read-file-name-internal))
|
||||
|
||||
;;;###autoload
|
||||
(defun +corfu-files ()
|
||||
"Complete using files source"
|
||||
(interactive)
|
||||
(let ((completion-at-point-functions (list #'+file-completion-at-point-function)))
|
||||
(completion-at-point)))
|
||||
|
||||
;;;###autoload
|
||||
(defun +corfu-dabbrev ()
|
||||
"Complete using dabbrev source"
|
||||
(interactive)
|
||||
(let ((completion-at-point-functions (list #'+dabbrev-completion-at-point-function)))
|
||||
(completion-at-point)))
|
||||
|
||||
;;;###autoload
|
||||
(defun +corfu-ispell ()
|
||||
"Complete using ispell source.
|
||||
|
||||
See `ispell-lookup-words' for more info"
|
||||
(interactive)
|
||||
(let ((completion-at-point-functions (list #'+ispell-completion-at-point-function)))
|
||||
(completion-at-point)))
|
||||
|
||||
;;;###autoload
|
||||
(defun +corfu-dict ()
|
||||
"Complete using dict source.
|
||||
|
||||
See `+dict--words' for extra words, and `+dict-file' for a wordslist source "
|
||||
(interactive)
|
||||
(let ((completion-at-point-functions (list #'+dict-completion-at-point-function)))
|
||||
(completion-at-point)))
|
Loading…
Add table
Add a link
Reference in a new issue