]> code.delx.au - dotemacs/blobdiff - lisp/my-file-modes.el
yaml-mode now does raml automatically
[dotemacs] / lisp / my-file-modes.el
index 31ae0bd9891d580fb2b3198e6236e00ca241f887..135d69f52761f45faecf4ca2178c8986a2a6ed27 100644 (file)
@@ -31,6 +31,9 @@
 (add-to-list 'interpreter-mode-alist '("node" . js2-mode))
 (setq js2-concat-multiline-strings 'eol)
 (setq js2-highlight-external-variables nil)
+(setq js2-mode-show-parse-errors nil)
+(setq js2-mode-show-strict-warnings nil)
+(setq js--declaration-keyword-re "x^") ; declarations should have normal indentation
 
 (require 'markdown-mode)
 (define-key markdown-mode-map (kbd "M-{") 'markdown-beginning-of-block)