summaryrefslogtreecommitdiffstats
path: root/ftplugin/typescript.vim
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2016-05-02 10:42:37 +0200
committerAdam Stankiewicz <sheerun@sher.pl>2016-05-02 10:42:37 +0200
commit5dd1a7e83966c92d220073185f1738dfe441f59e (patch)
tree9c4bee389a51a9bb111dcc894c9db0f6d1809d81 /ftplugin/typescript.vim
parentbc098370c1bb81840734f5764f431dee270e75ce (diff)
downloadvim-polyglot-5dd1a7e83966c92d220073185f1738dfe441f59e.tar.gz
vim-polyglot-5dd1a7e83966c92d220073185f1738dfe441f59e.zip
Update
Diffstat (limited to 'ftplugin/typescript.vim')
-rw-r--r--ftplugin/typescript.vim2
1 files changed, 2 insertions, 0 deletions
diff --git a/ftplugin/typescript.vim b/ftplugin/typescript.vim
index 9508fba4..2a9af1e2 100644
--- a/ftplugin/typescript.vim
+++ b/ftplugin/typescript.vim
@@ -15,6 +15,8 @@ setlocal commentstring=//\ %s
" " and insert the comment leader when hitting <CR> or using "o".
setlocal formatoptions-=t formatoptions+=croql
+setlocal suffixesadd+=.ts
+
let b:undo_ftplugin = "setl fo< ofu< com< cms<"
let &cpo = s:cpo_save