annotate runtime/syntax/phtml.vim @ 30487:79e2d9b7780c v9.0.0579

patch 9.0.0579: using freed memory when 'tagfunc' wipes out buffer Commit: https://github.com/vim/vim/commit/0ff01835a40f549c5c4a550502f62a2ac9ac447c Author: Bram Moolenaar <Bram@vim.org> Date: Sat Sep 24 19:20:30 2022 +0100 patch 9.0.0579: using freed memory when 'tagfunc' wipes out buffer Problem: Using freed memory when 'tagfunc' wipes out buffer that holds 'complete'. Solution: Make a copy of the option. Make sure cursor position is valid.
author Bram Moolenaar <Bram@vim.org>
date Sat, 24 Sep 2022 20:30:03 +0200
parents 18ee39301b82
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1 " Vim syntax file
1624
18ee39301b82 updated for version 7.2a
vimboss
parents: 7
diff changeset
2 " PHTML used to be the filetype for PHP 2.0. Now everything is PHP.
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
3
1624
18ee39301b82 updated for version 7.2a
vimboss
parents: 7
diff changeset
4 if !exists("b:current_syntax")
18ee39301b82 updated for version 7.2a
vimboss
parents: 7
diff changeset
5 runtime! syntax/php.vim
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
6 endif