Skip to content
Snippets Groups Projects
Commit 6271089c authored by Recolic's avatar Recolic :house_with_garden:
Browse files

.

parent c6d83884
No related branches found
No related tags found
No related merge requests found
......@@ -15,16 +15,19 @@ syntax match FlowLevel2 /^ \S.*: *$/
" Multi-line block: starts on a non-space line not ending with ':'
" ends just before the next level-1 or level-2 tag
syntax region FlowMultiline start=/^\S.*[^:]$/ end=/^\(\S.*: *$\| \S.*: *$\)/me=s-1 keepend contains=NONE
syntax region FlowMultiline start=/^\S.*[^:]$/ end=/^\(\S.*: *$\| \S.*: *$\)/me=s-1 keepend contains=Expr
" " Level 3 args (4-space indent) (lower priority than Multiline)
" syntax match FlowLevel3 /^ .*$/
syntax match Expr /@{[^}]*}/
" Highlight links
highlight def link FlowLevel1 Statement
highlight def link FlowLevel2 Function
highlight def link FlowLevel2 PreProc
highlight def link FlowLevel3 Identifier
" highlight def link FlowMultiline String
highlight def link Expr Identifier
" highlight def link FlowMultiline Comment
highlight FlowMultiline guifg=#888888 ctermfg=8
let b:current_syntax = "flow"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment