Skip to content

Instantly share code, notes, and snippets.

@raucao
Last active September 3, 2018 05:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save raucao/2a09903f43503979fecd124e0eded1bb to your computer and use it in GitHub Desktop.
Save raucao/2a09903f43503979fecd124e0eded1bb to your computer and use it in GitHub Desktop.
Vim setup for TypeScript
# For use with Pathogen and Syntastic
# Install typescript-vim for syntax highlighting
git clone https://github.com/leafgarland/typescript-vim.git ~/.vim/bundle/typescript-vim
# Install and compile procvim.vim
git clone https://github.com/Shougo/vimproc.vim.git ~/.vim/bundle/vimproc.vim
pushd ~/.vim/bundle/vimproc.vim
make
popd
# Install tsuquyomi for
# - Completion (omni-completion)
# - Navigate to the location where a symbol is defined.
# - Show location(s) where a symbol is referenced.
# - Display a list of syntax and semantics errors to Vim quickfix window.
git clone https://github.com/Quramy/tsuquyomi.git ~/.vim/bundle/tsuquyomi
let g:syntastic_typescript_checkers = ['tsuquyomi']
let g:tsuquyomi_disable_quickfix = 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment