Skip to content

Instantly share code, notes, and snippets.

@cimm
Created January 16, 2010 23:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save cimm/279096 to your computer and use it in GitHub Desktop.
Save cimm/279096 to your computer and use it in GitHub Desktop.
TextPad keyword syntax file for Freemarker.
; TextPad keyword syntax file for Freemarker
; Contributed by Simon Schoeters, version 0.2
HTML=1
[Syntax]
Namespace1 = 2
IgnoreCase = Yes
KeyWordLength =
BracketChars = {}[]()
OperatorChars=*+|%?,=:
PreprocStart =
HexPrefix = #
SyntaxStart = <
SyntaxEnd = >
CommentStart = !--
CommentEnd = --
CommentStartAlt = <#--
CommentEndAlt = -->
SingleComment =
SingleCommentCol =
SingleCommentAlt =
SingleCommentColAlt =
SingleCommentEsc =
StringsSpanLines = Yes
StringStart = "
StringEnd = "
StringAlt = '
StringEsc = \
CharStart = &
CharEnd = ;
CharEsc =
;
[Keywords 1]
#function
#include
#import
[Keywords 2]
#assign
#return
#default
#break
#noparse
#compress
#escape
#noescape
#global
#local
#setting
#macro
#nested
#flush
#stop
#ftl
#t
#lt
#rt
#nt
#visit
#recurse
#fallback
#if
#else
#elseif
#list
#switch
#case
#attempt
#recover
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment