OFPEC Forum
Editors Depot - Mission Editing and Scripting => ArmA - Editing/Scripting Resources Beta Testing & Submission => Topic started by: Worldeater on 21 Jan 2009, 20:10:48
-
In case anyone out there is
hardcorecrazy enough to edit his SQF/SQS files with Vim: worry not, here are the filetype and syntax files for SQF/SQS!
Installation:
Extract the archive and copy the vimfiles directory to your %USERPROFILE%. If your vimfiles directory already contains a filetype.vim you might need to add the corresponding line(s) from the filetype_for_sqf.vim. Otherwise simply rename the latter one to filetype.vim.
This is (http://i41.tinypic.com/200wrpu.png) how it looks like (color scheme: desert, font: bitstream vera).
OFPEC Download (http://www.ofpec.com/ed_depot/index.php?action=details&id=608) (Dead link, use the attachment below)
CHANGES
2010-09-17, v0.4
- rewrote the whole stuff because the original files went to the bit bucket
2009-05-31, v0.3
- added new ARMA 2 commands
- basic SQS support
2009-02-10, v0.2
- added keyword "lightAttachObject"
- improved constant hightlighting
2009-01-21
- initial release
TODO
- Solve the "bracket closing" errors that show up in some constructs
- Display all real "bracket closing" errors
- Improve SQS support
- Get a clue and rewrite from scratch
-
In case anyone out there is hardcorecrazy enough to edit his SQF files with Vim: worry not, here are the filetype and syntax files for SQF!
I did know we were not alone.
Thanks/Danke !
-
Update: minor improvements (see CHANGES section above)
-
Updated. See CHANGES section above.
-
A portable version of gVim has been released.
http://portableapps.com/news/2009-10-13_-_gvim_portable_7.2
Is there any chance of an A2 version of the sqf syntax hilighting for it? :D
(I've also searched at d-h and didn't find anything.)
-
In theory the syntax files should work fine.
Since you can't use the %USERPROFILE% directory simply copy the files to the installion directory (e.g. U:\PortableProgramms\vim\vimfiles).