aboutsummaryrefslogtreecommitdiff
path: root/vim/indent/php.vim
Commit message (Collapse)AuthorAgeFilesLines
* Adjust explanation of PHP indent skipTom Ryder2018-02-011-3/+9
| | | | Include the variable guard, just for completeness' sake.
* Use b:undo variables correctlyTom Ryder2017-11-071-3/+0
| | | | | | | | | | | Setting or adding to b:undo_indent and b:undo_ftplugin variables, which I only learned about just now, allows me to avoid the _GLOBAL.vim hack and remove some files from both vim/indent/ and vim/ftplugin/. These variables aren't subjected to :execute automatically in anything older than Vim 7.0, but I don't think that's too much of a concern as the only real reason they're needed are for changing filetypes in the same buffer, which doesn't happen that often anyway.
* Use a common file to restore global indent optsTom Ryder2017-10-301-7/+3
| | | | | | Remove the duplicated code instated to use the global defaults for indent-related options and put it into a common file to source with :runtime.
* Move filetype-specific indent options into indent/Tom Ryder2017-10-301-0/+7
| | | | | | I'm still getting used to the structure of the configuration here, and had mistakenly put these indent-related settings into files in the ftplugin directory.
* Move PHP indent nixing into ~/.vim/indentTom Ryder2017-10-301-0/+4
This method short-circuits the unwanted PHP expression-based indenting configuration completely, rather than running it all and then undoing it after the fact. This involves creating a new direction ~/.vim/indent, and a Makefile target install-vim-indent to copy everything into it.