From 1280f9d1c20d095ac09de46bb3812a1cfd26beb1 Mon Sep 17 00:00:00 2001 From: Kevin Cotugno Date: Tue, 27 Jun 2017 07:22:35 -0700 Subject: [PATCH] HTML and JSON 2 space tabs --- config/nvim/init.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/nvim/init.vim b/config/nvim/init.vim index 4c6f66e..776242b 100644 --- a/config/nvim/init.vim +++ b/config/nvim/init.vim @@ -45,7 +45,7 @@ set list set listchars=tab:――,space:·,trail:· autocmd BufRead,BufNewFile *.cs,*.java set tabstop=4 shiftwidth=4 expandtab -autocmd BufRead,BufNewFile *.rb,*.css,*.js set tabstop=2 shiftwidth=2 expandtab +autocmd BufRead,BufNewFile *.rb,*.css,*.js,*.html,*.json set tabstop=2 shiftwidth=2 expandtab autocmd FileType crontab set backupcopy=yes function TrimTrailingInvisibles()