Syntax file for sources.list
Matthijs Mohlmann
matthijs at cacholong.nl
Mon Aug 15 07:15:53 UTC 2005
Another little change.
I changed the name from sources to debsources, otherwise it's maybe
confusing for other parties.
Matthijs Mohlmann wrote:
> James Vega wrote:
>
>>On Sun, Aug 14, 2005 at 11:22:45AM -0400, James Vega wrote:
>>
>>
>>>On Sat, Aug 13, 2005 at 05:49:30PM +0200, Matthijs Mohlmann wrote:
>>>
>>>
>>>>Hi,
>>>>
>>>>I started with writing a syntax file for sources.list and I made a first
>>>>attempt.
>>>>
>>>>As I am not an Ubuntu expert I didn't add the code for Ubuntu to it, but
>>>>if someone know how that works...
>>>>
>>>>Please take a look. Probably it needs more modification and the
>>>>regexpressions needs to be reviewed, but this is a first attempt and I'm
>>>>not an syntax file expert.
>>>>
>>>>Regards,
>>>>
>>>>Matthijs Mohlmann
>>>
>>>In order to make things easier to read, I'd suggest using a different
>>>delimeter than '/' for the syntax match lines. Also, some characters
>>>are escaped which don't need to be escaped. I also added "old-stable"
>>>to the list of recognized releases. See my modifications below.
>>
>>
>>I played around with it some more. I've attached my updated version.
>>It does a better job of highlighting the full URL. We should add:
>>
>>au BufNewFile,BufRead sources.list setf sources
>>
>>to $VIMRUNTIME/filetype.vim, too.
>>
>
> I did that already to my local copy of vim. And it works perfect. So I
> think we can add it to the vim distribution... but what I'm not sure
> about is URL's like this:
>
> deb http://debian.speedblue.org/stable ./
> deb http://people.debian.org/~ljlane/downloads/ e17/
>
> Should we take this url into account ?
>
> Attached a new version that deals with older versions of vim and it adds
> support for Ubuntu.
>
> Regards,
>
> Matthijs Mohlmann
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 256 bytes
Desc: OpenPGP digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-vim-maintainers/attachments/20050815/ef2bdf18/signature.pgp
More information about the pkg-vim-maintainers
mailing list