 (add-to-list 'auto-mode-alist '("\\.djhtml\\'" . web-mode))
 (add-to-list 'auto-mode-alist '("\\.html?\\'" . web-mode))
 (add-to-list 'auto-mode-alist '("\\.html?\\'" . web-mode))
+(add-to-list 'auto-mode-alist '("\\.vue\\'" . web-mode))
+
 (setq web-mode-code-indent-offset 2)
 (setq web-mode-css-indent-offset 2)
 (setq web-mode-markup-indent-offset 2)
+
+;;(global-flycheck-mode)

 ;; If there is more than one, they won't work right.
 '(coffee-tab-width 2)
 '(package-selected-packages
   (quote
    (web-mode w3m tidy textmate slime nodejs-repl idomenu emmet-mode color-theme chm-view chinese-wbim chinese-pyim-wbdict auto-complete))))

;; ido
(require 'ido)

(require 'chm-view)
(setq browse-url-browser-function 'w3m-browse-url)

;; Chinese wbim
(autoload 'chinese-wbim-use-package "chinese-wbim" "Another emacs input method")
;; Tooltip ʱ
(setq chinese-wbim-use-tooltip nil)

(register-input-method
 "chinese-wbim" "euc-cn" 'chinese-wbim-use-package
 "" "뷨" "wb.txt")

;;  ; ʱӢ
(require 'chinese-wbim-extra)
(global-set-key ";" 'chinese-wbim-insert-ascii)

;Ĭ뷨
(setq default-input-method 'chinese-wbim)

;; get rid of menu bar in terminal emacs
(if (equal window-system nil)
