aboutsummaryrefslogtreecommitdiff
path: root/runtime/indent/php.vim
diff options
context:
space:
mode:
authorChristian Clason <c.clason@uni-graz.at>2023-08-29 11:03:29 +0200
committerChristian Clason <c.clason@uni-graz.at>2023-08-29 11:32:46 +0200
commitae7ab9015999ba417642a5e0c785709f104d75cf (patch)
tree975cfe9081f3c1efc46430da29ff127414e76ea6 /runtime/indent/php.vim
parent0e3ea0a262329ba21bb10c74ea5d689f0597aabd (diff)
downloadrneovim-ae7ab9015999ba417642a5e0c785709f104d75cf.tar.gz
rneovim-ae7ab9015999ba417642a5e0c785709f104d75cf.tar.bz2
rneovim-ae7ab9015999ba417642a5e0c785709f104d75cf.zip
vim-patch:0382f05dbd65
runtime: Set b:undo_indent where missing (vim/vim#12944) https://github.com/vim/vim/commit/0382f05dbd659d8e39ee4e71c1e5062ac5c0a8fd Co-authored-by: dkearns <dougkearns@gmail.com>
Diffstat (limited to 'runtime/indent/php.vim')
-rw-r--r--runtime/indent/php.vim3
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/indent/php.vim b/runtime/indent/php.vim
index 6b3d700059..350accaa11 100644
--- a/runtime/indent/php.vim
+++ b/runtime/indent/php.vim
@@ -4,6 +4,7 @@
" URL: https://www.2072productions.com/vim/indent/php.vim
" Home: https://github.com/2072/PHP-Indenting-for-VIm
" Last Change: 2020 Mar 05
+" 2023 Aug 28 by Vim Project (undo_indent)
" Version: 1.70
"
"
@@ -128,7 +129,7 @@ setlocal nolisp
setlocal indentexpr=GetPhpIndent()
setlocal indentkeys=0{,0},0),0],:,!^F,o,O,e,*<Return>,=?>,=<?,=*/
-
+let b:undo_indent = "setl ai< cin< inde< indk< lisp< si<"
let s:searchpairflags = 'bWr'