use dumb-jump in vala-mode
This commit is contained in:
parent
f4a1792ceb
commit
894537a6fd
4
init.el
4
init.el
@ -713,12 +713,16 @@ inserted between the braces between the braces."
|
|||||||
;;; Vala
|
;;; Vala
|
||||||
;;; ----
|
;;; ----
|
||||||
|
|
||||||
|
(use-package dumb-jump
|
||||||
|
:defer)
|
||||||
|
|
||||||
(defun my-vala-mode-hook-fn ()
|
(defun my-vala-mode-hook-fn ()
|
||||||
(setq c-basic-offset 4
|
(setq c-basic-offset 4
|
||||||
tab-width 8
|
tab-width 8
|
||||||
indent-tabs-mode nil)
|
indent-tabs-mode nil)
|
||||||
(set (make-local-variable 'company-backends) '(company-lsp))
|
(set (make-local-variable 'company-backends) '(company-lsp))
|
||||||
(company-mode 1)
|
(company-mode 1)
|
||||||
|
(dumb-jump-mode)
|
||||||
(local-set-key "\C-i" #'company-indent-or-complete-common)
|
(local-set-key "\C-i" #'company-indent-or-complete-common)
|
||||||
(lsp))
|
(lsp))
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user