stata.vim : vim syntax file for Stata programs
script karma |
Rating 34/13,
Downloaded by 1862 |
Comments, bugs, improvements
|
Vim wiki
|
created by |
Jeffrey Pitblado |
|
script type |
syntax |
|
description |
stata.vim is a syntax file for Stata do and ado programs.
This syntax file will help identify:
* some common Stata programming commands
* Stata functions
* local and global macro expansions
* regular ("") and compound (`""') double quotes
* numeric and string formats
* Stata comments
* errors in parens, brackets, ...
|
|
install details |
I keep stata.vim in $HOME/.vim/syntax/ and associate Stata programs in
$HOME/.vim/filetypes.vim using the following:
augroup filetypedetect
autocmd! BufRead,BufNewFile *.ado set filetype=stata
autocmd! BufRead,BufNewFile *.class set filetype=stata
autocmd! BufRead,BufNewFile *.do set filetype=stata
augrougp END
|
|
script versions (upload new version)
Click on the package to download.
stata.vim |
1.1.2 |
2006-04-17 |
6.0 |
Jeffrey Pitblado |
* fixed 'start' expression for stataFunc matches |
stata.vim |
1.1.1 |
2006-04-15 |
6.0 |
Jeffrey Pitblado |
renamed syntax groups st* to stata*
'syntax clear' only under version control
check for 'b:current_syntax', removed 'did_stata_syntax_inits' |
stata.vim |
1.1.0 |
2006-04-13 |
6.0 |
Jeffrey Pitblado |
* updated for Stata 9
* improved function coverage
* trimmed most Stata commands out, leaving only common programming commands
|
stata.vim |
1.0.5 |
2002-10-08 |
6.0 |
Jeffrey Pitblado |
Initial upload |
ip used for rating: 3.149.2.199
|