Skip to content

Commit 878eb07

Browse files
[vimrc] set TypeScript indent to 2 spaces
1 parent 7ff976f commit 878eb07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vimrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ autocmd BufRead,BufNewFile Dockerfile* set filetype=dockerfile
149149
" au, autocommand
150150
autocmd FileType make,gitconfig,gitcommit,apache,dockerfile,go setlocal et!
151151
autocmd FileType gitcommit setlocal cc=50,72 | setlocal textwidth=72 | highlight ColorColumn ctermbg=cyan
152-
autocmd FileType html,css,javascript,yaml,json setlocal sw=2 ts=2
152+
autocmd FileType html,css,javascript,yaml,json,typescript setlocal sw=2 ts=2
153153
autocmd FileType fstab setlocal sw=8 ts=8
154154

155155
" set makeprg(depends on filetype) if makefile is not exist

0 commit comments

Comments
 (0)