# HG changeset patch # User Steve Losh # Date 1453458663 0 # Node ID 616605dd8dfd446290b77aaa5933c68d1de837dd Initial commit diff -r 000000000000 -r 616605dd8dfd README.markdown --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/README.markdown Fri Jan 22 10:31:03 2016 +0000 @@ -0,0 +1,6 @@ +vim-gdl +======= + +Vim support for GDL (Game Description Language). + +Based on [this syntax file](https://gist.github.com/muupan/6481900). diff -r 000000000000 -r 616605dd8dfd ftplugin/gdl.vim --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ftplugin/gdl.vim Fri Jan 22 10:31:03 2016 +0000 @@ -0,0 +1,2 @@ +setlocal foldmethod=marker foldmarker={{{,}}} +setlocal lisp iskeyword+=? diff -r 000000000000 -r 616605dd8dfd syntax/gdl.vim --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/syntax/gdl.vim Fri Jan 22 10:31:03 2016 +0000 @@ -0,0 +1,22 @@ +" Originally from https://gist.github.com/muupan/6481900 +" +" A syntax file for Game Description Language (GDL) in Knowledge +" Interchange Format (KIF). + +syntax region gdlKifLineComment start=+;+ end=+$+ +syntax match gdlKifArrow '<=' +syntax keyword gdlKifFactRelation base init true next +syntax keyword gdlKifActionRelation input legal does +syntax keyword gdlKifRoleRelation role +syntax keyword gdlKifTemporalRelation goal terminal +syntax keyword gdlKifGeneralRelation not or distinct +syntax match gdlKifVariable '?\k\+' + +highlight default link gdlKifLineComment Comment +highlight default link gdlKifArrow Operator +highlight default link gdlKifFactRelation Conditional +highlight default link gdlKifActionRelation Repeat +highlight default link gdlKifRoleRelation Keyword +highlight default link gdlKifTemporalRelation Keyword +highlight default link gdlKifGeneralRelation Operator +highlight default link gdlKifVariable Identifier