Commits

Shlomi Fish committed f6657d0

Add InnerDesc.

  • Participants
  • Parent commits 88c6f35

Comments (0)

Files changed (1)

syntax/screenplay-text.vim

 syntax region screenplayTextComment start="<!--" end="-->"
 syntax region screenplayTextDescription start="^ *\[" end="]"
 
-syntax region screenplayTextSaying matchgroup=screenplayTextAddress start=/\(^\s*\n\)\@<=\(\(+\{2,\}\|[^[:+]\+\):\)/ end=/^\s*$/
+syntax region screenplayTextSaying matchgroup=screenplayTextAddress start=/\(^\s*\n\)\@<=\(\(+\{2,\}\|[^[:+]\+\):\)/ end=/^\s*$/ contains=screenplayTextInnerDesc
 
 " syntax region screenplayTextSaying start=/\(^\s*\n\)\@<=\_^\(+\{2,\}\|[^[:+]*\):/ end=/^\s*$/ contains=screenplayTextAddress,screenplayTextInnerDesc
 " syntax region screenplayTextSaying start=/\(^\s*\n\)\@<=\_^\(+\{2,\}\|[^[:+]*\):/ end=/^\s*$/ contains=screenplayTextAddress
 " syntax match screenplayTextAddress /[^:]\+:/ contained nextgroup=screenplayTextSayingAfterAddress
 
 " syntax region screenplayTextSayingAfterAddress contained
-" syntax match screenplayTextInnerDesc /\[\_.\{-0,}\]/ contained nextgroup=screenplayTextInnerDesc
+syntax match screenplayTextInnerDesc /\[\_.\{-0,}\]/ contained nextgroup=screenplayTextInnerDesc
 
 
 " For debugging - remove.