cube.vim : Cube engine script syntax file
script karma |
Rating 25/7,
Downloaded by 825 |
Comments, bugs, improvements
|
Vim wiki
|
created by |
Denilson Sá |
|
script type |
syntax |
|
description |
This is a syntax file for Cube Engine cfg files. It applies to autoexec.cfg, package.cfg and any other file which uses Cube script.
More info about Cube Engine here: http://cube.sourceforge.net/
This is my first syntax file. Maybe it isn't the best, but it works very well.
Features:
- Support for keyboard keys names only after "bind" command. (MOUSE1, MOUSE2,... is also supported)
- Support for entities names only after "newent" and "clearents" commands.
- Support for all cube commands of version 2004_05_22, except "keymap" (which you should not use, according to docs).
- Recognizes special aliases "level_trigger_xx" and "nextmap_xx".
I don't know if it will work on Vim 5. |
|
install details |
Put the file on ~/.vim/syntax/ directory. Then, when opening some Cube cfg file, type:
:set syntax=cube
You can also put this line at top or bottom of your Cube cfg file:
// vim: set syntax=cube
This will make vim automatically apply the Cube syntax. |
|
script versions (upload new version)
Click on the package to download.
ip used for rating: 44.213.75.78
|