Revert "Fix broken channel icon in chrome://help on CrOS" and try again
[chromium-blink-merge.git] / tools / emacs / chrome-filetypes.el
blob14fc6bbaef38c34a30f4685e20260008df590adc
1 ; To get syntax highlighting and tab settings for gyp(i) files, add the
2 ; following to init.el:
3 ; (setq-default chrome-root "/path/to/chrome/src/")
4 ; (add-to-list 'load-path (concat chrome-root "tools/emacs"))
5 ; (require 'chrome-filetypes)
7 (define-derived-mode gyp-mode python-mode "Gyp"
8 "Major mode for editing Generate Your Project files."
9 (setq indent-tabs-mode nil
10 tab-width 2
11 python-indent 2))
13 (add-to-list 'auto-mode-alist '("\\.gyp$" . gyp-mode))
14 (add-to-list 'auto-mode-alist '("\\.gypi$" . gyp-mode))
16 (provide 'chrome-filetypes)