diff options
| -rw-r--r-- | .vim/my/after/ftplugin/typescript.vim | 16 | ||||
| -rw-r--r-- | .vimrc | 1 |
2 files changed, 17 insertions, 0 deletions
diff --git a/.vim/my/after/ftplugin/typescript.vim b/.vim/my/after/ftplugin/typescript.vim new file mode 100644 index 0000000..cdb1674 --- /dev/null +++ b/.vim/my/after/ftplugin/typescript.vim @@ -0,0 +1,16 @@ +scriptencoding utf-8 + + +if exists('b:did_ftplugin_typescript_after') + finish +endif + + + +FtpluginSetLocal expandtab +FtpluginSetLocal shiftwidth=2 +FtpluginSetLocal softtabstop=2 + + + +let b:did_ftplugin_typescript_after = 1 @@ -1228,6 +1228,7 @@ xmap m/b <Plug>(caw:box:comment) let g:clang_format#auto_format = 1 Autocmd FileType javascript ClangFormatAutoDisable +Autocmd FileType typescript ClangFormatAutoDisable |
