Raised This Month: $ Target: $400
 0% 

gVim Syntax Hilighting


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Fyren
FyrenFyrenFyrenFyrenFyren FyrenFyrenFyrenFyrenFyren FyrenFyrenFyrenFyrenFyren FyrenFyrenFyrenFyrenFyren
Join Date: Feb 2106
Old 01-04-2009 , 23:47   Re: gVim Syntax Hilighting
Reply With Quote #1

I wrote a Perl script that scrapes (I'm hesitant to say parses, heh) the .inc files to generate part of the syntax file. It just finds all the function names, defines, and so on and then wraps it with the stuff in naris' syntax file (minus the old functions, etc.).

I've attached the script plus the output from it when run over the includes from 1.2 off the respository as of now. I renamed them so that the forum would let me attach them without zipping.
Attached Files
File Type: log vim.pl.log (14.4 KB, 383 views)
File Type: log sourcepawn.vim.log (49.7 KB, 377 views)

Last edited by Fyren; 01-04-2009 at 23:57. Reason: reattached right files
Fyren is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 18:46.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode