| Index: tools/vim/filetypes.vim
|
| diff --git a/tools/vim/filetypes.vim b/tools/vim/filetypes.vim
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..3e7c8f9eada3264b1e8dde4da57e46c8bb131a34
|
| --- /dev/null
|
| +++ b/tools/vim/filetypes.vim
|
| @@ -0,0 +1,9 @@
|
| +" 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
|
|
|