All,

I sent the following message to Dr. Chip RE: vim syntax files, and it
bounced back; do we know if there's a more current contact for him
(and whether or not he's ok)?

D. Ben Knoble



---------- Forwarded message ---------
From: D. Ben Knoble <ben.kno...@gmail.com>
Date: Tue, May 26, 2020 at 11:13 AM
Subject: Vim syntax (variables)
To: <drc...@campbellfamily.biz>


Chip,

I've got a suggestion for the vim syntax files that you maintain.
(I'll attach a patch.)

There are a couple of places I've spotted where certain kinds of
variables, namely environment variables of the form $PATH or ${PATH},
are not highlighted—and yet in others, they are.

The following patch *seems* to enable highlighting after the :let and
:if keywords; let me know what you think.

Best,
D. Ben Knoble

-- 
-- 
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 vim_dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/CALnO6CD4oiWJKYiPehsGq17QSt9jj2S0xiWmJDoXqNHVJXqFNw%40mail.gmail.com.
389c389
< syn keyword	vimLet	let	unl[et]	skipwhite nextgroup=vimVar,vimFuncVar,vimLetHereDoc
---
> syn keyword	vimLet	let	unl[et]	skipwhite nextgroup=vimVar,vimFuncVar,vimEnvvar,vimLetHereDoc
466c466
< syn match vimNotFunc	"\<if\>\|\<el\%[seif]\>\|\<return\>\|\<while\>"	skipwhite nextgroup=vimOper,vimOperParen,vimVar,vimFunc,vimNotation
---
> syn match vimNotFunc	"\<if\>\|\<el\%[seif]\>\|\<return\>\|\<while\>"	skipwhite nextgroup=vimOper,vimOperParen,vimVar,vimFuncVar,vimEnvvar,vimFunc,vimNotation

Raspunde prin e-mail lui