aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--.config/nvim/lua/vimrc/init.lua2
-rw-r--r--.config/vim/vimrc2
2 files changed, 2 insertions, 2 deletions
diff --git a/.config/nvim/lua/vimrc/init.lua b/.config/nvim/lua/vimrc/init.lua
index feedd0b..99f322e 100644
--- a/.config/nvim/lua/vimrc/init.lua
+++ b/.config/nvim/lua/vimrc/init.lua
@@ -80,7 +80,7 @@ function M.register_filetype_autocmds_for_indentation()
lua = { style = SPACE, width = 3 },
markdown = { style = SPACE, width = 4 },
nix = { style = SPACE, width = 2 },
- php = { style = SPACE, width = 2 },
+ php = { style = SPACE, width = 4 },
python = { style = SPACE, width = 4 },
ruby = { style = SPACE, width = 2 },
satysfi = { style = SPACE, width = 2 },
diff --git a/.config/vim/vimrc b/.config/vim/vimrc
index d48e1db..7896545 100644
--- a/.config/vim/vimrc
+++ b/.config/vim/vimrc
@@ -209,7 +209,7 @@ autocmd Vimrc FileType lisp call SetIndentStyle(1, 2)
autocmd Vimrc FileType lua call SetIndentStyle(1, 3)
autocmd Vimrc FileType markdown call SetIndentStyle(1, 4)
autocmd Vimrc FileType nix call SetIndentStyle(1, 2)
-autocmd Vimrc FileType php call SetIndentStyle(1, 2)
+autocmd Vimrc FileType php call SetIndentStyle(1, 4)
autocmd Vimrc FileType python call SetIndentStyle(1, 4)
autocmd Vimrc FileType ruby call SetIndentStyle(1, 2)
autocmd Vimrc FileType satysfi call SetIndentStyle(1, 2)