bfrg / vim-jq

Vim runtime files for jq (the command-line JSON processor)
28 stars 5 forks source link

Wrong highlight of closing string interpolation parenthesis #3

Closed woky closed 4 years ago

woky commented 4 years ago

In jq file

#!/usr/bin/jq -f
"foo=\(.somelist | join(","))"

the closing parenthesis of join is highlighted same as \( whose matching ) is highlighted as string.

The jq filter does

% echo '{"somelist": [1, 2, 3]}' |\
    jq -r '"foo=\(.somelist | join(","))"'
foo=1,2,3