From 4a06bf7836e7e1f4833d88248271c0667da7dbb3 Mon Sep 17 00:00:00 2001 From: Thomas Gideon Date: Sat, 15 Dec 2018 13:59:19 -0500 Subject: [PATCH] Add tool, autoformat config --- ftplugin/typescript.vim | 1 + plug.vim | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 ftplugin/typescript.vim diff --git a/ftplugin/typescript.vim b/ftplugin/typescript.vim new file mode 100644 index 0000000..b7bbae5 --- /dev/null +++ b/ftplugin/typescript.vim @@ -0,0 +1 @@ +au BufWrite * :Autoformat diff --git a/plug.vim b/plug.vim index 6be1c20..e6402b5 100644 --- a/plug.vim +++ b/plug.vim @@ -50,7 +50,7 @@ Plug 'roxma/nvim-completion-manager' " Plug cannot actually install this colorscheme, clone and link autoload and " colors manually "Plug 'fneu/breezy' -" run npm i -g typescript tslint so that these plugins have the tools they need +" run npm i -g typescript tslint typescript-formatter so that these plugins have the tools they need " typescript syntax support and other settings Plug 'leafgarland/typescript-vim' " plug into tsserver