| OLD | NEW |
| 1 " To get syntax highlighting and tab settings for gyp(i) and DEPS files, | 1 " To get syntax highlighting and tab settings for gyp(i), DEPS, and 'git cl' |
| 2 " add the following to your .vimrc file: | 2 " changelist description files, add the following to your .vimrc file: |
| 3 " so /path/to/src/tools/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 au! BufRead,BufNewFile DEPS set filetype=python expandtab tabstop=2
shiftwidth=2 |
| 9 au! BufRead,BufNewFile cl_description* set filetype=gitcommit |
| 9 augroup END | 10 augroup END |
| OLD | NEW |