Anonymous committed 07074e1

Comments (0)

Files changed (1)


 " Last Change: Thu Jul  3 00:59:42 IDT 2008
 " Version: 0.0.1
+" Thanks to Andy Wokula for his help on:
 " Quit if syntax file is already loaded
 if version < 600
     syntax clear
-syntax match screenplayTextComment /<!--\_.\{-0,}-->/
-syntax match screenplayTextDescription /^ *\[\_.\{-0,}\]/
+syntax sync minlines=50
+" syntax match screenplayTextComment /<!--\_.\{-0,}-->/
+" syntax match screenplayTextDescription /^ *\[\_.\{-0,}\]/
+syntax region screenplayTextComment start="<!--" end="-->"
+syntax region screenplayTextDescription start="^ *\[" end="]"
 syntax match screenplayTextAddress /^\(+\{2,\}\|[^[:+]*\):/ contained nextgroup=screenplayTextInnerDesc
 syntax match screenplayTextInnerDesc /\[\_.\{-0,}\]/ contained nextgroup=screenplayTextInnerDesc
 hi def link screenplayTextDescription PreProc
 hi def link screenplayTextInnerDesc PreProc
 hi def screenplayTextAddress      term=bold cterm=bold gui=bold
-let b:current_syntax="ScreenplayText"
-runtime! syntax/xml.vim
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.