diff options
author | scherkus@chromium.org <scherkus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-08 00:18:00 +0000 |
---|---|---|
committer | scherkus@chromium.org <scherkus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-08 00:18:00 +0000 |
commit | aeee1162e34154bfe3aa7b9bd14957bb26bdb728 (patch) | |
tree | dc3d5ad0ee8df811e19208697481ac82d8b1a65d /tools/vim | |
parent | e7c61d57172a6f53278e8a83fec739fd244d34cf (diff) | |
download | chromium_src-aeee1162e34154bfe3aa7b9bd14957bb26bdb728.zip chromium_src-aeee1162e34154bfe3aa7b9bd14957bb26bdb728.tar.gz chromium_src-aeee1162e34154bfe3aa7b9bd14957bb26bdb728.tar.bz2 |
Add vim filetype settings for DEPS.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/7330003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91783 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools/vim')
-rw-r--r-- | tools/vim/filetypes.vim | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/tools/vim/filetypes.vim b/tools/vim/filetypes.vim index 930b7ae..3e7c8f9 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 |