mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
added company-files support for file links in org mode
This commit is contained in:
@ -31,7 +31,9 @@
|
||||
:before #'company-begin-backend
|
||||
(company-abort)))
|
||||
|
||||
(add-hook 'company-mode-hook #'+company-init-backends-h)
|
||||
(add-hook 'company-mode-hook #'(lambda ()
|
||||
(+company-init-backends-h)
|
||||
(setq company-files--regexps (cons "file\:\\(\\(?:\\.\\{1,2\\}/\\|~/\\|/\\)[^\]\n]*\\)" company-files--regexps))))
|
||||
(global-company-mode +1))
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user