use dumb-jump in vala-mode

This commit is contained in:
Łukasz Pankowski 2019-01-28 22:57:31 +01:00
parent f4a1792ceb
commit 894537a6fd

View File

@ -713,12 +713,16 @@ inserted between the braces between the braces."
;;; Vala
;;; ----
(use-package dumb-jump
:defer)
(defun my-vala-mode-hook-fn ()
(setq c-basic-offset 4
tab-width 8
indent-tabs-mode nil)
(set (make-local-variable 'company-backends) '(company-lsp))
(company-mode 1)
(dumb-jump-mode)
(local-set-key "\C-i" #'company-indent-or-complete-common)
(lsp))