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

Unified Diff: tools/vim/filetypes.vim

Issue 7330003: Add vim filetype settings for DEPS. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src
Patch Set: nits 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 | « no previous file | 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
index 930b7aec2e7ade3e2f0207d086dbe6ea4638bb6a..3e7c8f9eada3264b1e8dde4da57e46c8bb131a34 100644
--- a/tools/vim/filetypes.vim
+++ b/tools/vim/filetypes.vim
@@ -1,8 +1,9 @@
-" 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
+" To get syntax highlighting and tab settings for gyp(i) and DEPS files,
+" add the following to your .vimrc file:
+" so /path/to/src/tools/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
+ au! BufRead,BufNewFile DEPS set filetype=python expandtab tabstop=2 shiftwidth=2
augroup END
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698