Became Hot Network Question
deleted 8 characters in body
Source Link
D. Ben Knoble
  • 19.2k
  • 3
  • 21
  • 48

Is it possible to make "???"??? (3 question marks) a keyword, and highlight it?

I have tried the following in a syntax file. Other strings on the line are highlighted, but not "???"???. "???"\?\?\? does not work either.

syntax keyword textTodos TODO ??? XXX LLL
highlight default link textTodos Todo

Thanks

Is it possible to make "???" (3 question marks) a keyword, and highlight it?

I have tried the following in a syntax file. Other strings on the line are highlighted, but not "???". "???" does not work either.

syntax keyword textTodos TODO ??? XXX LLL
highlight default link textTodos Todo

Thanks

Is it possible to make ??? (3 question marks) a keyword, and highlight it?

I have tried the following in a syntax file. Other strings on the line are highlighted, but not ???. \?\?\? does not work either.

syntax keyword textTodos TODO ??? XXX LLL
highlight default link textTodos Todo
Source Link

Is it possible to make "???" a keyword that can be highlighted?

Is it possible to make "???" (3 question marks) a keyword, and highlight it?

I have tried the following in a syntax file. Other strings on the line are highlighted, but not "???". "???" does not work either.

syntax keyword textTodos TODO ??? XXX LLL
highlight default link textTodos Todo

Thanks