gnupic: Re: [gnupic] OT-syntax highlighting in vim


Previous by date: 10 Aug 2007 03:17:16 +0100 OT-syntax highlighting in vim, Maxim Wexler
Next by date: 10 Aug 2007 03:17:16 +0100 Re: [gnupic] OT-syntax highlighting in vim, Maxim Wexler
Previous in thread:
Next in thread: 10 Aug 2007 03:17:16 +0100 Re: [gnupic] OT-syntax highlighting in vim, Maxim Wexler

Subject: Re: [gnupic] OT-syntax highlighting in vim
From: "David Barnett" ####@####.####
Date: 10 Aug 2007 03:17:16 +0100
Message-Id: <4d52f78b0708091916q5bc86d52j728a497540bad23c@mail.gmail.com>

On 8/9/07, Maxim Wexler ####@####.#### wrote:
>
> Hi group,
>
> Anybody here use vim and know how to turn on syntax highlighting for
> gpasm.asm files in a non-gui frame-buffered console.

I'm not positive what you're asking for, but I think typing ':setf pic'
under vim will do what you need. If you use vim primarily for the project,
you can add some kind of 'filetype' directive to the top of the actual file
so vim can tell what kind of file it is, but I don't use it so I forget the
exact syntax. I believe there's also a way to make vim assume the .asm
extension is a Microchip asm file, but again I'm fuzzy on the details. If by
gpasm.asm files, you're specifically referring to gpasm special directives
and such, I don't know of any pre-made solution, but the 'pic' filetype will
get you close.

David Barnett

Previous by date: 10 Aug 2007 03:17:16 +0100 OT-syntax highlighting in vim, Maxim Wexler
Next by date: 10 Aug 2007 03:17:16 +0100 Re: [gnupic] OT-syntax highlighting in vim, Maxim Wexler
Previous in thread:
Next in thread: 10 Aug 2007 03:17:16 +0100 Re: [gnupic] OT-syntax highlighting in vim, Maxim Wexler


Powered by ezmlm-browse 0.20.