Only complete words in org mode
This commit is contained in:
parent
c85793c42e
commit
cca6d16ccc
@ -756,6 +756,8 @@ targets."
|
|||||||
(add-hook 'after-save-hook
|
(add-hook 'after-save-hook
|
||||||
(lambda () (if (equal major-mode 'org-mode)
|
(lambda () (if (equal major-mode 'org-mode)
|
||||||
(org-babel-tangle))))
|
(org-babel-tangle))))
|
||||||
|
(make-local-variable 'completion-at-point-functions)
|
||||||
|
(add-to-list 'completion-at-point-functions #'cape-ispell)
|
||||||
(remove '(?< . ?>) electric-pair-pairs)
|
(remove '(?< . ?>) electric-pair-pairs)
|
||||||
(electric-pair-mode -1)
|
(electric-pair-mode -1)
|
||||||
(defvar org-electric-pairs '((?_ . ?_)
|
(defvar org-electric-pairs '((?_ . ?_)
|
||||||
@ -1061,8 +1063,7 @@ Return nil if DIR is not in a hugo project at all."
|
|||||||
:after corfu
|
:after corfu
|
||||||
:init
|
:init
|
||||||
(add-to-list 'completion-at-point-functions #'cape-dabbrev)
|
(add-to-list 'completion-at-point-functions #'cape-dabbrev)
|
||||||
(add-to-list 'completion-at-point-functions #'cape-file)
|
(add-to-list 'completion-at-point-functions #'cape-file))
|
||||||
(add-to-list 'completion-at-point-functions #'cape-ispell))
|
|
||||||
(use-package pcmpl-args
|
(use-package pcmpl-args
|
||||||
:after eshell)
|
:after eshell)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user