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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 " To get syntax highlighting and tab settings for gyp(i) files, add the 1 " To get syntax highlighting and tab settings for gyp(i) and DEPS files,
2 " following to your .vimrc file: 2 " add the following to your .vimrc file:
3 " so /path/to/src/vim/filetypes.vim 3 " so /path/to/src/tools/vim/filetypes.vim
4 4
5 augroup filetype 5 augroup filetype
6 au! BufRead,BufNewFile *.gyp set filetype=python expandtab tabstop=2 shiftwidth=2 6 au! BufRead,BufNewFile *.gyp set filetype=python expandtab tabstop=2 shiftwidth=2
7 au! BufRead,BufNewFile *.gypi set filetype=python expandtab tabstop=2 shiftwidth=2 7 au! BufRead,BufNewFile *.gypi set filetype=python expandtab tabstop=2 shiftwidth=2
8 au! BufRead,BufNewFile DEPS set filetype=python expandtab tabstop=2 shiftwidth=2
8 augroup END 9 augroup END
OLDNEW
« 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