Enable PHP autoindent and smartindent settings
Re-enable autoindent and smartindent for PHP files to ensure proper indentation according to WordPress coding standards.
This commit is contained in:
parent
e450617eb6
commit
486dbef96a
2 changed files with 5 additions and 8 deletions
|
|
@ -58,9 +58,12 @@ return {
|
|||
},
|
||||
},
|
||||
|
||||
-- Indentation (experimental, disable if issues)
|
||||
-- Indentation: Enable for languages with good indent queries
|
||||
-- PHP requires this because GetPhpIndent() depends on Vim syntax (disabled by Treesitter)
|
||||
indent = {
|
||||
enable = false, -- Start disabled; can enable per-filetype if stable
|
||||
enable = true,
|
||||
-- Disable for languages with poor/incomplete indent queries if needed
|
||||
disable = {},
|
||||
},
|
||||
|
||||
-- Textobjects
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue