mirror of
https://github.com/encounter/engine.git
synced 2026-03-30 11:09:55 -07:00
10 lines
469 B
VimL
10 lines
469 B
VimL
" 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
|