From d22e8398492371bf2c023d939be4a00f2f9154bd Mon Sep 17 00:00:00 2001 From: Henrik Hautakoski Date: Thu, 5 Sep 2024 23:07:09 +0200 Subject: [PATCH] nvim: adding after/indent/php.lua --- nvim/after/indent/php.lua | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 nvim/after/indent/php.lua diff --git a/nvim/after/indent/php.lua b/nvim/after/indent/php.lua new file mode 100644 index 0000000..0545749 --- /dev/null +++ b/nvim/after/indent/php.lua @@ -0,0 +1,4 @@ +-- Default ftplugin for php sets these to false. +-- making docblocks indent weird. So enable them again. +vim.o.autoindent = true +vim.o.smartindent = true