          user-emacs-directory)))
 
 (load-local "01ruby")
+(load-file "~/.emacs.d/flow-for-emacs/flow.el")

(flycheck-add-mode 'javascript-eslint 'web-mode)
;; customize flycheck temp file prefix
(setq-default flycheck-temp-prefix ".flycheck")
(setq flycheck-javascript-eslint-executable "eslint-project-relative")
;; disable json-jsonlist checking for json files
(setq-default flycheck-disabled-checkers
  (append flycheck-disabled-checkers
    '(json-jsonlist)))

;; (add-to-list 'auto-mode-alist '("\\.jsx\\'" . jsx-mode))
;; (autoload 'jsx-mode "jsx-mode" "JSX mode" t)

(define-key isearch-mode-map (kbd "C-c g") 'helm-git-grep-from-isearch)
(eval-after-load 'helm
  '(define-key helm-map (kbd "C-c g") 'helm-git-grep-from-helm))
(add-hook 'dired-mode-hook (lambda () (helm-mode -1)))

(setq helm-ls-git-show-abs-or-relative 'relative)
(setq helm-ls-git-fuzzy-match t)
