added company-files support for file links in org mode
This commit is contained in:
parent
94ce52a70d
commit
596e7c97a9
1 changed files with 3 additions and 1 deletions
|
@ -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))
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue