Ticket #4054: broken syntax highlighting for shell scripts.
commit93111361581049770716fdfbfc595e18c24bc6b4
authorAndrew Borodin <aborodin@vmail.ru>
Sat, 6 Jun 2020 17:11:29 +0000 (6 20:11 +0300)
committerAndrew Borodin <aborodin@vmail.ru>
Sat, 6 Jun 2020 17:13:37 +0000 (6 20:13 +0300)
tree22202a9ed58a062cafe5ff8718027d9ff666f228
parent91e4d8150f3e4dfa533376a41ba87ffe262d59db
Ticket #4054: broken syntax highlighting for shell scripts.

Revert "Ticket #3981: sh.syntax: allow for indented 'function' highlighting."

This reverts commit 91d6d55bafbccdc13bf1d27cfb3a8ce42293622f.

The syntax highlighting of shell scripts in mcedit misbehaves around
matches of "function blabla()" inside literal quotes. It applies syntax
highlighting as if it was function definition in normal conditions (out
of literal quotes), breaking the colouring of whatever follows.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
misc/syntax/sh.syntax