Chromium Code Reviews| 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) files, add the |
|
tony
2011/07/07 22:33:18
Nit: Maybe update this comment?
| |
| 2 " following to your .vimrc file: | 2 " following to your .vimrc file: |
| 3 " so /path/to/src/vim/filetypes.vim | 3 " so /path/to/src/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 |