0 of 0

File information

Last updated

Original upload

Created by

iFSS

Uploaded by

iFSS

Virus scan

Safe to use

About this mod

Enables syntax highlighting and code completion for GECK Script in the Vim text editor.

Permissions and credits
GECKScript.vim

Enables syntax highlighting and code completion for GECK Script in the Vim text editor (http://www.vim.org/about.php).

For those who like hardcore text editing action.


Features
  • Highlighting for all built-in commands and syntax
  • Includes all Fallout Script Extender (FOSE) commands
  • Includes all known New Vegas Script Extender (NVSE) commands as of NVSE v2 beta 9
  • Associates .gek files with GECK Script when opened in Vim




Install

Place the ftdetect and syntax directories into your Vim runtime path, e.g.

Linux:
~/.vim/ftdetect/geckscript.vim
~/.vim/syntax/geckscript.vim

Windows:
%USERPROFILE%\Documents\vimfiles\ftdetect\geckscript.vim
%USERPROFILE%\Documents\vimfiles\syntax\geckscript.vim


If you use Pathogen, place the entire geckscript.vim directory into the bundle directory.



Usage

Start saving your GECK scripts with the .gek file extension (e.g. mygroovyscript.gek), and Vim will automatically recognise them and start highlighting. You can also use:
set ft=geckscript

To enable code completion, either:
  • Use neocomplcache - http://www.vim.org/scripts/script.php?script_id=2620 (recommended)
  • Or, run the following when editing a script:
  • setlocal omnifunc=syntaxcomplete#Complete


If neocomplcache is used, indications will be given as to whether a command is built-in, for FOSE (and therefore NVSE), or for NVSE only.



Contribute

Something incorrect or missing, or got an improvement?
  • Raise an issue on GitHub: https://github.com/infectedsoundsystem/geckscript.vim/issues
  • Or fork the repository, edit the file(s), and send a pull request


The latest version will always be at:
https://github.com/infectedsoundsystem/geckscript.vim
REPORT BUG
Top