Saturday, July 28, 2018

Re: syntax highlighting not correct in bash script

my vim is newer than yours, so i'll wager my syntax/sh.vim is newer too

anyway, that exact command renders just fine in my vim (8.1.223)

On Sat, Jul 28, 2018 at 10:13 AM, kamaraju kusumanchi
<raju.mailinglists@gmail.com> wrote:
> The following shell script is not highlighted correctly.
>
> . % cat foo.sh
> #!/usr/bin/bash
>
> UPSTREAM=${1:-'@{u}'}
>
> Please find the screenshot at https://pasteboard.co/HwyXxZU.png .
>
> As you can see in the screenshot, the first and second left curly
> braces are blue and yellow while the third and fourth right curly
> braces are blue and magenta. Any idea why?
>
> Using vim 8.0, on Debian 9.5 (Stretch).
>
> thanks
> raju
> --
> Kamaraju S Kusumanchi | http://raju.shoutwiki.com/wiki/Blog
>
> --
> --
> You received this message from the "vim_use" maillist.
> Do not top-post! Type your reply below the text you are replying to.
> For more information, visit http://www.vim.org/maillist.php
>
> ---
> You received this message because you are subscribed to the Google Groups "vim_use" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment