diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2026-06-29 06:31:59 +0800 |
|---|---|---|
| committer | zeertzjq <zeertzjq@outlook.com> | 2026-06-29 06:35:35 +0800 |
| commit | 808fcc5a75eb143d358054e1a91588d3b4564ddb (patch) | |
| tree | 2834e0b6192698e420ac1b012775a979ac27c17c /runtime/ftplugin/python.vim | |
| parent | d72e6ae9fc12d6d2ae0f7e3b49660ebb0aa40fc7 (diff) | |
| download | rneovim-808fcc5a75eb143d358054e1a91588d3b4564ddb.tar.gz rneovim-808fcc5a75eb143d358054e1a91588d3b4564ddb.tar.bz2 rneovim-808fcc5a75eb143d358054e1a91588d3b4564ddb.zip | |
vim-patch:9a899af: runtime(vim): Fix heredoc triggering misidentifcation of Vim9 script
The following let-heredoc can cause legacy scripts to be misidentified
as Vim9 script if it appears early in the file. Only match :vim9script
at the start of a line where it sensibly belongs.
let x =<< trim LINES
vim9script
...
LINES
fixes: vim/vim#20647 (reported by Maxim Kim).
closes: vim/vim#20654
https://github.com/vim/vim/commit/9a899af7e8e74bb094cfdfda857580b2e8ddf840
Co-authored-by: Doug Kearns <dougkearns@gmail.com>
Diffstat (limited to 'runtime/ftplugin/python.vim')
0 files changed, 0 insertions, 0 deletions