Syntax file for editing Stata and Mata source files.
Some mappings I find specifically useful while editing Stata and Mata source files.
I use pathogen.vim to install Vim plugins. If you do too, then you can use the following to install this plugin:
cd ~/.vim/bundle
git clone https://github.com/jpitblado/vim-stata.git stata
If you want Vim to recognize the full list of documented and
'undocumented' commands in Stata, copy stata_commands.vim
to
$HOME/.vim/after/syntax/stata.vim
or use a symbolic link.
mkdir -p $HOME/.vim/after/syntax
ln -s $PWD/stata_commands.vim $HOME/.vim/after/syntax/stata.vim
Update the syntax file to conform with the current Stata release.
Copyright (c) Jeff Pitblado
Distributed under the same terms as Vim itself. See :help license
.