Updates to runtime/syntax/sh.vim (in commit be4e016) broke syntax highlighting of bash scripts on my system. The following section of code excerpt is rendered completely in magenta beginning with the "if" statement:
#! /usr/bin/bash
# vim: set filetype=bash:
# set paths
export PATH='/usr/local/scripts:/usr/local/bin:/usr/local/sbin'
export PATH="${PATH}:/usr/lib/jvm/default-java/bin:/usr/local/schily/bin"
if [ -L /bin ]; then
export PATH="${PATH}:/usr/sbin:/usr/bin:/usr/games"
else
export PATH="${PATH}:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games"
fi
export INFOPATH='/usr/local/share/info:/usr/share/info'
export MANPATH='/usr/local/share/man:/usr/lib/jvm/java-sun/man'
export MANPATH="${MANPATH}:/usr/local/schily/share/man:/usr/share/man"
If I delete the blank line between lines 2 and 4, though, it renders correctly.
Correct syntax highlighting for bash files.
Runtime updates between 9.0.1274 and 9.0.1275
Debian Testing
xterm-378
XTERM=xterm
bash-5.2.15
No response
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
Plus a couple of screenshots:
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
Ah, this is a duplicate of #11937.
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
Closing as duplicate.
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
Closed #11953 as completed.
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()