Skip to content

Syntax highlighting and snippets for editing Stata code with Vim

Notifications You must be signed in to change notification settings

poliquin/stata-vim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Vim + Stata

Syntax highlighting and snippets for editing Stata files with vim/neovim.

Features

  • Syntax highlighting for .do and .ado scripts.
  • Syntax highlighting for .dct dictionary files (used with infile).
  • Syntax highlighting for SMCL (Stata help files).
  • Snippets for use with UltiSnips.

This project is currently compatible with Stata 15. Several commands introduced in Stata 16 and 17 will not be highlighted correctly. I mostly use Stata 15 and I am unlikely to update this project to support later versions of Stata until I upgrade. Pull requests are welcome.

Installation

Include the following in your .vimrc (vim) or init.vim (neovim):

call plug#begin()
    Plug 'poliquin/stata-vim'
call plug#end()

Include the following in your .vimrc (vim) or init.vim (neovim):

call vundle#begin()
    Plugin 'poliquin/stata-vim'
call vundle#end()

Clone the repo to your bundles/ directory:

cd ~/.vim/bundle
git clone git://github.com/poliquin/stata-vim.git

Credits

About

Syntax highlighting and snippets for editing Stata code with Vim

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published