Loading ...
Sorry, an error occurred while loading the content.

Help with a syntax region

Expand Messages
  • Robert Hicks
    syn match tclExternal I would like a region that looks at the word(s) coming after that match. package require
    Message 1 of 1 , Jul 7, 2006
    • 0 Attachment
      syn match tclExternal "\<\(package\)\s\(forget\|ifneeded\|require\)\>"

      I would like a region that looks at the word(s) coming after that match.

      package require Tk

      Tk in that would be the word to match (and color).

      :Robert
    Your message has been successfully submitted and would be delivered to recipients shortly.