moved comapny files regexp for org mode to org/config.el

This commit is contained in:
Jakub Darul 2019-10-10 10:04:30 +02:00
parent 596e7c97a9
commit 9a79f3815f
2 changed files with 9 additions and 3 deletions

View file

@ -31,9 +31,7 @@
:before #'company-begin-backend
(company-abort)))
(add-hook 'company-mode-hook #'(lambda ()
(+company-init-backends-h)
(setq company-files--regexps (cons "file\:\\(\\(?:\\.\\{1,2\\}/\\|~/\\|/\\)[^\]\n]*\\)" company-files--regexps))))
(add-hook 'company-mode-hook #'+company-init-backends-h)
(global-company-mode +1))