Spin syntax definition for Vim
Andrey Demenev
Posts: 377
If there are others like me using Vim to edit SPIN files - here is SPIN syntax definition. Unzip into the VIM directory - and you have your Spin files highlighted
UPDATE
Updated definition to preperly highlight identifiers that contain a reserved word (e.g. ByteCounter)
Post Edited (Andrey Demenev) : 1/24/2010 11:19:54 AM GMT
UPDATE
Updated definition to preperly highlight identifiers that contain a reserved word (e.g. ByteCounter)
Post Edited (Andrey Demenev) : 1/24/2010 11:19:54 AM GMT
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Links to other interesting threads:
· Home of the MultiBladeProps: TriBlade,·RamBlade,·SixBlade, website
· Single Board Computer:·3 Propeller ICs·and a·TriBladeProp board (ZiCog Z80 Emulator)
· Prop Tools under Development or Completed (Index)
· Emulators: CPUs Z80 etc; Micros Altair etc;· Terminals·VT100 etc; (Index) ZiCog (Z80) , MoCog (6809)
· Search the Propeller forums·(uses advanced Google search)
My cruising website is: ·www.bluemagic.biz·· MultiBladeProp is: www.bluemagic.biz/cluso.htm
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
For me, the past is not over yet.
Updated definition to preperly highlight identifiers that contain a reserved word (e.g. ByteCounter)
Fantastic work! My favorite editor now understands the language of my favorite microcontroller - what could be better!
Ross.
P.S. to get it to detect spin files automatically I also had to add the following lines to my _vimrc file:
augroup filetypedetect
au BufNewFile,BufRead *.spin setf spin
augroup END
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Catalina - a FREE C compiler for the Propeller - see Catalina
PS. Nice to see people using VIM for Propeller code editing. I've been a fan of VIM for a long time, and use it for any new language I learn
I really love vim, and a spin syntax definition is great!!
Massimo