diff src/testdir/test_vim9_script.vim @ 24786:524120691c3d v8.2.2931

patch 8.2.2931: Vim9: line continuation comment uses legacy syntax Commit: https://github.com/vim/vim/commit/5072b47a223fb044041b8e7db59a17b3b1d8a625 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Jun 3 21:56:10 2021 +0200 patch 8.2.2931: Vim9: line continuation comment uses legacy syntax Problem: Vim9: line continuation comment still uses legacy syntax in one place. Solution: Check for #\ instead of "\ earlier. (closes #8316)
author Bram Moolenaar <Bram@vim.org>
date Thu, 03 Jun 2021 22:00:04 +0200
parents 8bf9726097d8
children 75bd12f3bfeb
line wrap: on
line diff
--- a/src/testdir/test_vim9_script.vim
+++ b/src/testdir/test_vim9_script.vim
@@ -3081,6 +3081,9 @@ def Test_vim9_comment()
       \ start='foo'
       #\ comment
       \ end='bar'
+      syn region Text start='foo'
+      #\ comment
+      \ end='bar'
   END
   CheckScriptSuccess(lines)