Bug#425443: vim-runtime: sh syntax does not recognize escaped quotes or apostrophes correctly

Géraud Meyer geraud_meyer at hotmail.com
Mon May 21 17:33:08 UTC 2007


Package: vim-runtime
Version: 1:7.1-000+1
Severity: normal

For example a file containing

    #!/bin/bash
    echo \'foo\'
    exit

would have the exit highlighted as a string since the first apostrophe
is not considered escaped. The second apostrophe though is considered
escaped, which (in bash) is not possible inside a single quoted string
(in bash as in many other shells '\' is a string containing a backslash).




More information about the pkg-vim-maintainers mailing list