summaryrefslogtreecommitdiffstats
path: root/tools/vim/filetypes.vim
blob: 930b7aec2e7ade3e2f0207d086dbe6ea4638bb6a (plain)
1
2
3
4
5
6
7
8
" 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

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
augroup END