From 5710a11ea200e00e71508b9ca1f6f273de56ca4c Mon Sep 17 00:00:00 2001 From: Guillaume Dott Date: Fri, 12 Apr 2019 15:36:41 +0200 Subject: [PATCH] vim: set shiftwidth to 4 for php --- vim/vimrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vim/vimrc b/vim/vimrc index 059c05f..e8e5fb2 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -202,7 +202,7 @@ autocmd BufWritePost *.pdf silent !mv ~/Documents/% %:p:h let php_sql_query = 1 let php_htmlInStrings = 1 -au Filetype css vertical resize 50 +autocmd FileType php setlocal shiftwidth=4 " Don't screw up folds when inserting text that might affect them, until " leaving insert mode. Foldmethod is local to the window.