-
-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Closed
Description
Steps to reproduce
Latest upgrade of the runtime files brought in sh.vim version 205.
Unfortunately, it seems to be breaking sh/bash syntax highlight pretty badly for me.
On the left is sh.vim version 204, on the right is sh.vim version 205:

I was writing a few scripts, and every time, after a second or third command, the highlight was switching into shCmdSubRegion, covering everything.
On the picture that happened in line 3, and line 4 and below is all highlighted green.
Here is the test case from the picture:
#!/bin/bash
for name in {1..3}; do
echo "$name"
doneExpected behaviour
Bash highlight works as before.
Version of Vim
9.0.1275, build from the lastest source
Environment
OS: Ubuntu 22.10
Terminal: Alacritty, build from the latest source
$TERM: alacritty
shell: fish, version 3.6.0
Logs and stack traces
No response
lilydjwg, dargor, CesarGuzmanLopez, skingo, Piraty and 6 morelimitedAtonementxiaody