add systemd-mode company backend buffer locally
This commit is contained in:
parent
c6e06dfa93
commit
a9f82b1f8b
@ -407,7 +407,7 @@ Key bindings:
|
|||||||
(set-keymap-parent systemd-mode-map nil)
|
(set-keymap-parent systemd-mode-map nil)
|
||||||
(conf-mode-initialize systemd-comment-start)
|
(conf-mode-initialize systemd-comment-start)
|
||||||
(setq-local auto-fill-inhibit-regexp "^[ \t]*?[^;#]")
|
(setq-local auto-fill-inhibit-regexp "^[ \t]*?[^;#]")
|
||||||
(add-hook 'company-backends #'systemd-company-backend)
|
(add-hook 'company-backends #'systemd-company-backend nil 'local)
|
||||||
(add-hook 'completion-at-point-functions #'systemd-complete-at-point nil t)
|
(add-hook 'completion-at-point-functions #'systemd-complete-at-point nil t)
|
||||||
(add-hook 'font-lock-extend-region-functions
|
(add-hook 'font-lock-extend-region-functions
|
||||||
'systemd-font-lock-extend-region nil t)
|
'systemd-font-lock-extend-region nil t)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user