Skip to content

Instantly share code, notes, and snippets.

View stklcode's full-sized avatar

Stefan Kalscheuer stklcode

  • Aachen, Germany
  • 08:03 (UTC +02:00)
View GitHub Profile
@stklcode
stklcode / plexil.vim
Created November 28, 2018 11:36
VIM syntax definition for PLEXIL language. Place this file in your ~/.vim/syntax directory and add "au BufRead,BufNewFile *.ple set ft=plexil" to a second new file ~/.vim/ftdetect/plexil.vim
" Vim syntax file
" Language: PLEXIL
if exists("b:current_syntax")
finish
end
syn keyword pleBoolean true false
@stklcode
stklcode / filetypes.Plexil.conf
Created November 28, 2018 11:03
Geany filetype definition for PLEXIL plan files (*.ple). Place this in your ~/.config/geany/filedefs directory. You probably wanna add a line "Plexil=*.ple;" to your filetype_extensions.conf as well.
# For complete documentation of this file, please see Geany's main documentation
[styling=C]
[keywords]
# all items must be in one line
primary=Concurrence Command LibraryAction SynchronousCommand LibraryCall Lookup LookupNow LookupOnChange SkipCondition StartCondition InvariantCondition ExitCondition EndCondition RepeatCondition String Integer Real Boolean Wait In if elseif else endif while for
secondary=INACTIVE WAITING EXECUTING FINISHING ITERATION_ENDED FAILING FINISHED
# these are the doc keywords
docComment=