From c50c1bd3da6ce37171c5e3f6e733f6a8f5ae825c Mon Sep 17 00:00:00 2001 From: Gea-Suan Lin Date: Sun, 8 Jan 2023 16:17:44 +0800 Subject: [PATCH] Add sw=2 to js. --- .vim/vimrc | 1 + 1 file changed, 1 insertion(+) diff --git a/.vim/vimrc b/.vim/vimrc index 3ac3c2a..8162dea 100644 --- a/.vim/vimrc +++ b/.vim/vimrc @@ -97,6 +97,7 @@ let mapleader="\" " other au BufNewFile,BufRead *.dart set shiftwidth=2 au BufNewFile,BufRead *.go set filetype=go +au BufNewFile,BufRead *.js set shiftwidth=2 au BufNewFile,BufRead *.sls set filetype=yaml au BufNewFile,BufRead *.sls set shiftwidth=2 au BufNewFile,BufRead *.mk set noexpandtab