Hi all.

Maintainer of sh.vim email is:

Maintainer: Charles E. Campbell <[email protected]>

I can't send email to him:

<[email protected]>: Host or domain name not found. Name 
service
  error for name=PcampbellAfamily.Mbiz type=AAAA: Host not found
Reporting-MTA: dns;forward102p.mail.yandex.net
X-Yandex-Queue-ID: 45F491D40600
X-Yandex-Sender: rfc822;[email protected]
Arrival-Date: Thu, 29 Aug 2019 14:47:35 +0300 (MSK)

Final-Recipient: rfc822;[email protected]
Original-Recipient: rfc822;[email protected]
Action: failed
Status: 5.4.4
Diagnostic-Code: X-Yandex; Host or domain name not found. Name service error
  for name=PcampbellAfamily.Mbiz type=AAAA: Host not found

So I send patch here.

There is a small issue with a syntax file sh.vim. Due to this issue Vim 
show quotes inside the test command in different colours.

It can be viewed in simple exmaple file:

#!/bin/bash

[ "$a" = "$b" ]

To fix this is a very small patch:

diff --git a/runtime/syntax/sh.vim b/runtime/syntax/sh.vim
index ae62e19..d798003 100644
--- a/runtime/syntax/sh.vim
+++ b/runtime/syntax/sh.vim
@@ -227,7 +227,7 @@ syn match shAstQuote contained '\*\ze"' 
nextgroup=shString
 syn match shTestOpr contained '[^-+/%]\zs=' skipwhite 
nextgroup=shTestDoubleQuote,shTestSingleQuote,shTestPattern
 syn match shTestOpr contained 
"<=\|>=\|!=\|==\|=\~\|-.\>\|-\(nt\|ot\|ef\|eq\|ne\|lt\|le\|gt\|ge\)\>\|[!<>]"
 syn match shTestPattern contained '\w\+'
-syn region shTestDoubleQuote contained start='\%(\%(\\\\\)*\\\)\@<!"' 
skip=+\\\\\|\\"+ end='"' contains=shDeref,shDerefSimple,shDerefSpecial
+syn region shTestDoubleQuote contained matchgroup=shQuote 
start='\%(\%(\\\\\)*\\\)\@<!"' skip=+\\\\\|\\"+ end='"' 
contains=shDeref,shDerefSimple,shDerefSpecial
 syn match shTestSingleQuote contained '\\.' nextgroup=shTestSingleQuote
 syn match shTestSingleQuote contained "'[^']*'"
 if exists("b:is_kornshell") || exists("b:is_bash")

-- 
-- 
You received this message from the "vim_dev" 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_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/70ad9bb6-7959-40cb-8636-75c58be3166f%40googlegroups.com.

Raspunde prin e-mail lui