]> git.ipfire.org Git - thirdparty/vim.git/commit
runtime(php): Update the php indent script to the 1.75 (from 1.70) (#13025)
authorJohn Wellesz <john.wellesz@gmail.com>
Mon, 4 Sep 2023 20:22:19 +0000 (22:22 +0200)
committerGitHub <noreply@github.com>
Mon, 4 Sep 2023 20:22:19 +0000 (22:22 +0200)
commit3170342af3049852afb2fbca85df37baf5fec82f
tree64b9e6025d12300d357ba3e07ecb063fba7e7689
parent282a94be990fc1ee5be46548bf7241b583d48972
runtime(php): Update the php indent script to the 1.75 (from 1.70) (#13025)

Changes:

1.75:
- Fix 2072/PHP-Indenting-for-VIm#87: The indent optimization was causing wrong indentation of lines
  preceded by a line ending with '}' when preceded by non white characters.
- Fix long standing non-reported regex escaping issue in cleaning end of line
  comments function. This should help fixing some other unreported issues when
  parts of codes are commented out at ends of lines...

1.74:
- Fix 2072/PHP-Indenting-for-VIm#86: Add support for `match` expression.

1.73:
- Fix 2072/PHP-Indenting-for-VIm#77 where multi line strings and true/false keywords at beginning of a
  line would cause indentation failures.

1.72:
- Fix vim/vim#5722 where it was reported that the option PHP_BracesAtCodeLevel
  had not been working for the last 6 years.

1.71:
- Fix 2072/PHP-Indenting-for-VIm#75 where the indent script would hang on some multi-line quoted strings.

Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/indent/php.vim