mirror of
https://github.com/MidnightCommander/mc
synced 2025-02-26 20:24:20 +03:00

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>