Commits

Shlomi Fish committed 580cb36

Fix the highlighting.

  • Participants
  • Parent commits ff7fd49
  • Branches trial1

Comments (0)

Files changed (1)

File syntax/screenplay-text.vim

 syntax region screenplayTextComment start="<!--" end="-->"
 syntax region screenplayTextDescription start="^ *\[" end="]"
 
-syntax region screenplayTextSaying start=/\(^\s*\n\)\@<=\(\(+\{2,\}\|[^:+]\+\):\)/ end=/^\s*$/ matchgroup=foo,screenplayTextAddress
+syntax region screenplayTextSaying matchgroup=screenplayTextAddress start=/\(^\s*\n\)\@<=\(\(+\{2,\}\|[^:+]\+\):\)/ end=/^\s*$/
 
 " syntax region screenplayTextSaying start=/\(^\s*\n\)\@<=\_^\(+\{2,\}\|[^[:+]*\):/ end=/^\s*$/ contains=screenplayTextAddress,screenplayTextInnerDesc
 " syntax region screenplayTextSaying start=/\(^\s*\n\)\@<=\_^\(+\{2,\}\|[^[:+]*\):/ end=/^\s*$/ contains=screenplayTextAddress