Menu

User Defined Syntax Highlighting

2009-05-04
2012-11-13
  • sean o'dwyer

    sean o'dwyer - 2009-05-04

    Hi All,

    I want to make a custom syntax file for some specialty files I use at work. The problem is the files I use aren't separated by spaces but by '*''s is there a way of looking for targeting keywords like this or looking only at the start of the string to  recognize keywords?

    Thanks in advance

    - Sean

     
    • Thell Fowler

      Thell Fowler - 2009-05-04

      If you mean something like:
      *Will*this*work,*if*this*is*defined*as*a*keyword*and*defined*is*defined*as*a*keyword*too?

      Should work fine.

       
MongoDB Logo MongoDB