diff options
| author | nsfisis <nsfisis@gmail.com> | 2021-02-14 17:42:24 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2021-02-14 17:42:24 +0900 |
| commit | d0542c7a033c45d1760c17557bf5a582263af5f6 (patch) | |
| tree | d615a7723ef00b803bc3ed83161b30d19911b870 | |
| parent | f63836b943905a978e4593c01095d390d81ec0de (diff) | |
| download | dotfiles-d0542c7a033c45d1760c17557bf5a582263af5f6.tar.gz dotfiles-d0542c7a033c45d1760c17557bf5a582263af5f6.tar.zst dotfiles-d0542c7a033c45d1760c17557bf5a582263af5f6.zip | |
Update .vim: Add TypeScript settings
| -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 |
