wishlist: q[xw] should include all valid symbols

20 views
Skip to first unread message

Paul Miller

unread,
Jun 8, 2009, 10:13:37 AM6/8/09
to vim-perl
Personally, I'd really like all of the valid qq() and qx[] to
highlight properly. I've spent well over an hour trying to find a way
to include all the possible symbols programatically when I was
maintaining my own personal vim syntax file.

I added a couple qq[] favorites of mine in a fork. I think adding all
the punctuation two lines at a time in the .vim file is the wrong
approach. I hope there's some programmatic way to match the
appropriate symbols ... petdance suggested I take it to the list...

http://github.com/petdance/vim-perl/issues#issue/2

Hinrik Örn Sigurðsson

unread,
Jun 8, 2009, 10:58:04 AM6/8/09
to vim-...@googlegroups.com
As I mentioned in the bug report, this has been correctly handled for
a long time by the "canonical" (though not bundled with vim) Perl 5
syntax file by mauke. It's available at
http://www.vim.org/scripts/script.php?script_id=2300 and also in my
fork of Andy's repository: https://github.com/hinrik/vim-perl/tree

Benjamin Fritz

unread,
Jun 8, 2009, 11:09:49 AM6/8/09
to vim-...@googlegroups.com
2009/6/8 Hinrik Örn Sigurðsson <hinri...@gmail.com>:

> As I mentioned in the bug report, this has been correctly handled for
> a long time by the "canonical" (though not bundled with vim) Perl 5
> syntax file by mauke. It's available at
> http://www.vim.org/scripts/script.php?script_id=2300 and also in my
> fork of Andy's repository: https://github.com/hinrik/vim-perl/tree
>

How different is this syntax file from the bundled one? It says there
are "some heavy modifications" which I saw in a diff, but I've been
using my own modified bundled syntax file that doesn't depend on
programming style for fold definitions and haven't gotten around yet
to trying to merge the two.

Paul Miller

unread,
Jun 8, 2009, 11:22:08 AM6/8/09
to vim-...@googlegroups.com
On Mon, Jun 8, 2009 at 11:09 AM, Benjamin Fritz<fritzo...@gmail.com> wrote:
> How different is this syntax file from the bundled one? It says there
> are "some heavy modifications" which I saw in a diff, but I've been
> using my own modified bundled syntax file that doesn't depend on
> programming style for fold definitions and haven't gotten around yet
> to trying to merge the two.

Indeed, it seems to be worth the trouble to try to merge that one in.
It has some really good stuff in it -- including everything *I* want
apparently.

--
If riding in an airplane is flying, then riding in a boat is swimming.
107 jumps, 43.5 minutes of freefall, 83.4 freefall miles.

Reply all
Reply to author
Forward
0 new messages