csharp: use spacemacs/enable-flycheck
This commit is contained in:
parent
5ab72c2e4e
commit
bf2892b198
|
@ -106,11 +106,11 @@
|
||||||
(evilmi-c-get-tag evilmi-c-jump))))
|
(evilmi-c-get-tag evilmi-c-jump))))
|
||||||
(add-hook 'csharp-mode-hook 'turn-on-evil-matchit-mode))
|
(add-hook 'csharp-mode-hook 'turn-on-evil-matchit-mode))
|
||||||
|
|
||||||
|
(defun csharp/post-init-flycheck ()
|
||||||
|
(spacemacs/enable-flycheck 'csharp-mode))
|
||||||
|
|
||||||
(defun csharp/post-init-ggtags ()
|
(defun csharp/post-init-ggtags ()
|
||||||
(add-hook 'csharp-mode-local-vars-hook #'spacemacs/ggtags-mode-enable))
|
(add-hook 'csharp-mode-local-vars-hook #'spacemacs/ggtags-mode-enable))
|
||||||
|
|
||||||
(defun csharp/post-init-helm-gtags ()
|
(defun csharp/post-init-helm-gtags ()
|
||||||
(spacemacs/helm-gtags-define-keys-for-mode 'csharp-mode))
|
(spacemacs/helm-gtags-define-keys-for-mode 'csharp-mode))
|
||||||
|
|
||||||
(defun csharp/post-init-flycheck ()
|
|
||||||
(spacemacs/add-flycheck-hook 'csharp-mode))
|
|
||||||
|
|
Loading…
Reference in a new issue