gVim Syntax Coloring Bug?

10 views
Skip to first unread message

KyleFlavin

unread,
Apr 11, 2012, 8:43:42 PM4/11/12
to vim_dev
The following code throws off the syntax coloring on my gVim, run from
Windows 7. I'm using version 7.3:

function find_locale() {
while read -r LOC NETW REALM; do
if [ $1 == "$NETW" ]; then
return 0
fi
# problem begins on the line below
#done <<< "$IP_RANGES"
done

return 1
}

It doesn't seem to like the line:

done <<< "$IP_RANGES"

Ivan Krasilnikov

unread,
Apr 11, 2012, 11:00:22 PM4/11/12
to vim...@googlegroups.com
On Thu, Apr 12, 2012 at 02:43, KyleFlavin <kyle....@gmail.com> wrote:
> It doesn't seem to like the line:
>
> done <<< "$IP_RANGES"

Try putting "let g:is_bash=1" in your vimrc. This syntax is a bash extension.

Reply all
Reply to author
Forward
0 new messages