aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--.vim/my/after/ftplugin/typescript.vim16
-rw-r--r--.vimrc1
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
diff --git a/.vimrc b/.vimrc
index 5cc29d5..fa36dcd 100644
--- a/.vimrc
+++ b/.vimrc
@@ -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