Tuesday, January 26, 2010

WORD # and syntax files

Hi, i'm subscribed as tonibin.

I'd like how to obtain selection for keywords (DEC-10 BASIC) like:

FILE#1,...
FILE #1,...
FILE# 1,...
FILE # 1,...

I'd like the word "FILE" (or other words), the symbol "#" and the
following number (1 to 9) being selected for a syntax highlighting,
no
matter how many spaces there are in between. I've tried with
"region",
"match" and "keyword", but nothing seem to work (except "keyword",
that
selects the word FILE only).

I've tried on vim 7.x for Mac and vim 7.2 for Windows.

Please, if you want to help me, answer to tbin at libero dot it.

Thanks.

-- Antonio (tonibin)

.

--
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php

No comments:

Post a Comment