Skip to content

Latest commit

 

History

History
58 lines (37 loc) · 1.52 KB

README.md

File metadata and controls

58 lines (37 loc) · 1.52 KB

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