This directory provides lightweight Vim support for the ProtoScript2 language.
- Filetype detection for
.pts - Syntax highlighting for keywords, types, preprocessor directives, comments, and strings
Copy the files into your Vim runtime path:
mkdir -p ~/.vim/ftdetect ~/.vim/syntax
cp tools/vim/ftdetect/protoscript2.vim ~/.vim/ftdetect/
cp tools/vim/syntax/protoscript2.vim ~/.vim/syntax/Ensure syntax highlighting and filetype detection are enabled in your ~/.vimrc:
filetype plugin on
syntax onmkdir -p ~/.vim/bundle
cp -R tools/vim ~/.vim/bundle/protoscript2Add to your ~/.vimrc:
Plug '~/path/to/ProtoScript2/tools/vim'Then run :PlugInstall.
.pts