blob: aeffba8880e3ef2494e8e14352d855ccbb7fae0a (
plain)
1
2
3
4
5
6
7
8
|
vimrc.after_indent('php', function(conf)
-- The default indent plugin for PHP bundled with Neovim disables
-- 'smartindent' and 'autoindent' because the plugin fully handles
-- indentation by itself. However, I use nvim-treesitter plugin for PHP
-- indentation, which requires that these options are on.
vim.bo.smartindent = true
vim.bo.autoindent = true
end)
|