From 800713fd5c72cafec38bf372a3b1684155c233e9 Mon Sep 17 00:00:00 2001 From: Dmitry Chumak Date: Sat, 17 Sep 2022 19:56:09 +0300 Subject: [PATCH] [vim] php indentation config --- vim/ftplugin/php.vim | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 vim/ftplugin/php.vim diff --git a/vim/ftplugin/php.vim b/vim/ftplugin/php.vim new file mode 100644 index 0000000..476b33b --- /dev/null +++ b/vim/ftplugin/php.vim @@ -0,0 +1,6 @@ +" show existing tab with 4 spaces width +set tabstop=4 +" when indenting with '>', use 4 spaces width +set shiftwidth=4 +" On pressing tab, insert 4 spaces +set expandtab