vile
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vile] shell syntax highlighting confused by here documents


From: Thomas Dickey
Subject: Re: [vile] shell syntax highlighting confused by here documents
Date: Fri, 17 Apr 2015 11:15:09 -0400 (EDT)

----- Original Message -----
| From: "j. van den hoff" <address@hidden>
| To: address@hidden
| Sent: Friday, April 17, 2015 10:41:40 AM
| Subject: [vile] shell syntax highlighting confused by here documents
| 
| hi there,
| 
| I've noted the the shmode syntax highlighting filter gets confused by
| "here document syntax" (the `<<' or `<<<' redirections) of ksh or
| bash
| (but it's probably POSIX shell compliant anyway...) such as
| 
|   while read -rA fields; do
|           [[ $fields == \++([!+])* ]] && cimsg+="${fields[3]}; "
|   done <<< "$fdiff"   #e.g., this comment is highlighted as 'keyword'
| 
| is this a known limitation?

http://invisible-island.net/vile/CHANGES.html#v9_8l

        + modify sh-filt.l to recognize ksh93/bash here-strings, noting that
          they are not standardized.

(There is one regression in 9.8p - current - for which I have a patch, but have 
other items on backlog...)

-- 
Thomas E. Dickey <address@hidden>
http://invisible-island.net
ftp://invisible-island.net



reply via email to

[Prev in Thread] Current Thread [Next in Thread]