From ca9074fb4ca768592677640beea784e2dff782fb Mon Sep 17 00:00:00 2001 From: Michiel Scholten Date: Fri, 12 Jan 2018 12:39:18 +0100 Subject: [PATCH] Typescript syntax highlighting --- .vimrc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.vimrc b/.vimrc index 3d3214d..bc8f61c 100644 --- a/.vimrc +++ b/.vimrc @@ -127,6 +127,10 @@ Plugin 'jamessan/vim-gnupg' " can handle embedded syntax. Plugin 'tomtom/tcomment_vim' +" Typescript syntax file and more +Plugin 'leafgarland/typescript-vim' +autocmd BufNewFile,BufRead *.ts setlocal filetype=typescript + " Automatically insert matching close bracket where it belongs "Plugin 'seletskiy/vim-autosurround' "inoremap ( (:call AutoSurround(")")