| OLD | NEW |
| 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 |
| OLD | NEW |