Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1096)

Unified Diff: tools/vim/filetypes.vim

Issue 7300011: Add emacs and vim helper config files for gyp settings. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: emacs Created 9 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/emacs/chrome-filetypes.el ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/vim/filetypes.vim
diff --git a/tools/vim/filetypes.vim b/tools/vim/filetypes.vim
new file mode 100644
index 0000000000000000000000000000000000000000..930b7aec2e7ade3e2f0207d086dbe6ea4638bb6a
--- /dev/null
+++ b/tools/vim/filetypes.vim
@@ -0,0 +1,8 @@
+" To get syntax highlighting and tab settings for gyp(i) files, add the
+" following to your .vimrc file:
+" so /path/to/src/vim/filetypes.vim
+
+augroup filetype
+ au! BufRead,BufNewFile *.gyp set filetype=python expandtab tabstop=2 shiftwidth=2
+ au! BufRead,BufNewFile *.gypi set filetype=python expandtab tabstop=2 shiftwidth=2
+augroup END
« no previous file with comments | « tools/emacs/chrome-filetypes.el ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698