moved company-files-regexps change from org/config to company/conif
This commit is contained in:
parent
d3ebe747b6
commit
d74ed618ce
2 changed files with 7 additions and 7 deletions
|
@ -51,6 +51,11 @@
|
||||||
;;
|
;;
|
||||||
;; Packages
|
;; Packages
|
||||||
|
|
||||||
|
(after! company-files
|
||||||
|
(pushnew! company-files--regexps
|
||||||
|
"file:\\(\\(?:\\.\\{1,2\\}/\\|~/\\|/\\)[^\]\n]*\\)"))
|
||||||
|
|
||||||
|
|
||||||
(use-package! company-prescient
|
(use-package! company-prescient
|
||||||
:hook (company-mode . company-prescient-mode)
|
:hook (company-mode . company-prescient-mode)
|
||||||
:config
|
:config
|
||||||
|
|
|
@ -814,11 +814,7 @@ compelling reason, so..."
|
||||||
(sp-local-pair "~" "~" :unless '(:add sp-point-before-word-p +org-sp-in-src-block-p))
|
(sp-local-pair "~" "~" :unless '(:add sp-point-before-word-p +org-sp-in-src-block-p))
|
||||||
(sp-local-pair "=" "=" :unless '(:add sp-point-before-word-p sp-in-math-p +org-sp-in-src-block-p)))))
|
(sp-local-pair "=" "=" :unless '(:add sp-point-before-word-p sp-in-math-p +org-sp-in-src-block-p)))))
|
||||||
|
|
||||||
(defun +org-init-company-h ()
|
|
||||||
(after! company-files
|
|
||||||
(setq-local company-files--regexps
|
|
||||||
(cons "file:\\(\\(?:\\.\\{1,2\\}/\\|~/\\|/\\)[^\]\n]*\\)"
|
|
||||||
company-files--regexps))))
|
|
||||||
;;
|
;;
|
||||||
;;; Bootstrap
|
;;; Bootstrap
|
||||||
|
|
||||||
|
@ -881,8 +877,7 @@ compelling reason, so..."
|
||||||
#'+org-init-popup-rules-h
|
#'+org-init-popup-rules-h
|
||||||
#'+org-init-protocol-h
|
#'+org-init-protocol-h
|
||||||
#'+org-init-protocol-lazy-loader-h
|
#'+org-init-protocol-lazy-loader-h
|
||||||
#'+org-init-smartparens-h
|
#'+org-init-smartparens-h)
|
||||||
#'+org-init-company-h)
|
|
||||||
|
|
||||||
;; In case the user has eagerly loaded org from their configs
|
;; In case the user has eagerly loaded org from their configs
|
||||||
(when (and (featurep 'org)
|
(when (and (featurep 'org)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue