 (electric-pair-mode 1)
 (setq electric-pair-pairs '(
                             (?\" . ?\")
+                            (?\' . ?\')
                             (?\` . ?\`)
                             (?\( . ?\))
                             (?\{ . ?\})

(add-to-list 'interpreter-mode-alist '("node" . js2-mode))

(add-to-list 'auto-mode-alist '("\\.html?\\'" . web-mode))
;;-------------------

;; web-mode config
(setq web-mode-markup-indent-offset 2
        web-mode-css-indent-offset 2
        web-mode-code-indent-offset 2)
  (setq js-indent-level 2)
;;---------------------

;; GLOBAL enabled modes and hooks
(require 'flycheck)

(flycheck-add-mode 'javascript-eslint 'js2-jsx-mode)


;; Neotree configurations
(global-set-key [f8] 'neotree-toggle)

