Vim syntax highlighting for Sproto
- cp sproto.vim ~/.vim/syntax/
- Add the following to ~/.vimrc:
augroup filetype
au! BufRead,BufNewFile *.sproto setfiletype sproto
augroup end
Or just create a new file called ~/.vim/ftdetect/sproto.vim with the previous lines on it.
- git clone https://github.com/spin6lock/vim_sproto ~/.vim/bundle/sproto