Several improvement to flycheck

This commit is contained in:
Sameer Rahmani 2015-07-18 13:02:12 +04:30
parent 7204b168de
commit 62f7fa3e1d
5 changed files with 9 additions and 2 deletions

View File

@ -16,6 +16,7 @@
(depends-on 'popwin)
(depends-on 'ag)
(depends-on 'smart-mode-line)
;; TODO: Add flycheck-color-modebar
;; TODO Add flycheck-tip

View File

@ -58,6 +58,7 @@
(ability flycheck ()
"Check syntax on the fly using flycheck."
(add-hook 'prog-mode-hook 'global-flycheck-mode)
(add-hook 'after-init-hook 'global-flycheck-mode))
(ability spell ()

View File

@ -2,7 +2,7 @@
;; Variables
;; ---------------------------------------------------------------------
(defvar my-desktop-session-dir
(concat (getenv "HOME") "/tmp1/")
(concat (getenv "HOME") "/.tmp/")
"*Directory to save desktop sessions in")
(defvar my-desktop-session-name-hist nil

View File

@ -26,6 +26,10 @@
(add-hook 'js2-mode-hook 'javascript-callback)
(add-to-list 'company-backends 'company-tern)
(setq js2-highlight-level 3)))
(setq js2-highlight-level 3))
(ability coffee-editor ()
"Gives FG42 ability to edit coffee script files."
(custom-set-variables '(coffee-tab-width 2))))
(provide 'extensions/javascript/init)

View File

@ -8,6 +8,7 @@
(setup-general-ruby-editor)
(setup-inf-ruby)
(setup-bundler)
(setq ruby-deep-indent-paren t)
(with-ability rbenv
(require 'rbenv)