                              (imenu-add-menubar-index))))
 
 ;; php-mode
-(when (require 'php-mode nil t)
-  (dolist (hook (list
-                 'php-mode-pear-hook
-                 'php-mode-psr2-hook
-                 'php-mode-drupal-hook
-                 'php-mode-symfony2-hook
-                 'php-mode-wordpress-hook))
-    (add-hook hook (lambda ()
-                     (setq c-basic-offset 4)
-                     (setq tab-width 4)))))
+;; (when (require 'php-mode nil t)
+;;   (dolist (hook (list
+;;                  'php-mode-pear-hook
+;;                  'php-mode-psr2-hook
+;;                  'php-mode-drupal-hook
+;;                  'php-mode-symfony2-hook
+;;                  'php-mode-wordpress-hook))
+;;     (add-hook hook (lambda ()
+;;                      (setq c-basic-offset 4)
+;;                      (setq tab-width 4)))))
 
 ;; emmet-mode
 (when (require 'emmet-mode nil t)


;; js-mode
(add-to-list 'auto-mode-alist '("\\.js\\'" . js-jsx-mode))

;; FlyCheck
(when (or (require 'flycheck-mypy nil t)


(when (require 'anaconda-mode nil t)
  (add-hook 'python-mode-hook 'anaconda-mode)
  (add-hook 'python-mode-hook (lambda () (anaconda-eldoc-mode t)))
  (eval-after-load "company"
    '(add-to-list 'company-backends '(company-anaconda :with company-capf))))

(add-hook 'inferior-python-mode-hook
          (lambda ()
