sponsor Vim development Vim logo Vim Book Ad

stata-syntax : Enhanced and updated Stata syntax highlighting in Vim

 script karma  Rating 29/8, Downloaded by 974  Comments, bugs, improvements  Vim wiki

created by
Zizhong Yan
script type
Vim syntax file for Stata source files

This is an enhanced and updated Stata syntax hilghlighting file. It is a modification version to the Stata/Mata syntax highlighting file by Jeff Pitblado.

Github: https://github.com/zizhongyan/stata-vim-syntax/

Apart from Pitblado's syntax highlighting file, the file could further highlight

1. most of the Stata in-built commands,

2. some popular user-written commands,

3. abbreviation of commands,

4. numbers,

5. logical and mathematic operators.

6. enable different colours for commands used for different purpose.


Please visit:  https://github.com/zizhongyan/stata-vim-syntax/


This syntax highlighting file is also compatible with Stata 14.

It is working under both Windows and Unix/Linux platforms

Looking for running Stata in the Vim ?

If you want to RUN THE STATA in VIM editor, please refer to \"another Github webpage at https://github.com/zizhongyan/vim-stata/\";.

To keep it updated

I will be trying to keep the file updated with more common used Stata commands. Please also let me know if you want to add more syntax highlightings!

By Zizhong Yan (helloyzz@gmail.com) and Chuhong Wang (flora7819@gmail.com) --- 29 Feb 2016.
install details
Download it into the syntax folder.  

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
stata.vim 0.3 2016-02-29 7.0 Zizhong Yan Initial upload
ip used for rating:

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
Vim at Github