Skip to content

Commit

Permalink
Add 'data' keyword
Browse files Browse the repository at this point in the history
  • Loading branch information
Neil Watson committed Apr 16, 2014
1 parent f2107ba commit 1e1ab8f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ftplugin/cf3.vim
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ if !exists("*CF3AlignAssignments")
function CF3AlignAssignments (AOP)
"Patterns needed to locate assignment operators...
if a:AOP == 'vars'
let ASSIGN_OP = '\(string\|int\|real\|slist\|ilist\|rlist\|expression\|and\|or\|not\|volume\)*\s\+=>'
let ASSIGN_OP = '\(string\|int\|real\|data\|slist\|ilist\|rlist\|expression\|and\|or\|not\|volume\)*\s\+=>'
else
let ASSIGN_OP = '=>'
endif
Expand Down
2 changes: 1 addition & 1 deletion syntax/cf3.vim
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ syn region cf3Var start=/[$@][{(]/ end=/[})]/ contains=cf3Var,cf3Array
syn region cf3String start=/\z\("\|'\)/ skip=/\\\z1/ end=/\z1/ contains=cf3Var,cf3Esc,cf3Array
syn region cf3Fold start="{" end="}" transparent fold

syn keyword cf3Type string int real slist ilist rlist
syn keyword cf3Type string int real slist ilist rlist data

" The following list may be automatically generated using
" tools/extract_cf3BuiltIns.sh
Expand Down

0 comments on commit 1e1ab8f

Please sign in to comment.