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.