shell-scripts: Enable flycheck in sh-mode

This commit is contained in:
Fredrik Bergroth 2016-03-01 14:50:09 +01:00 committed by Eivind Fonn
parent b224c9f1e1
commit a1167b8821

View file

@ -10,11 +10,14 @@
;;; License: GPLv3
(setq shell-scripts-packages
'(fish-mode
(sh-script :location built-in)
company
company-shell
))
'(company
company-shell
fish-mode
flycheck
(sh-script :location built-in)))
(defun shell-scripts/post-init-flycheck ()
(spacemacs/add-flycheck-hook 'sh-mode))
(defun shell-scripts/init-fish-mode ()
(use-package fish-mode