purescript-contrib / purescript-vim

Syntax highlighting and indentation for PureScript
BSD 2-Clause "Simplified" License
154 stars 35 forks source link

Syntax: Highlight TODO/FIXME/XXX in comments #77

Closed andys8 closed 3 years ago

andys8 commented 3 years ago

Highlight the following keywords in single line comments

This might be helpful during development. It's also common in other languages: https://github.com/vim/vim/search?q=todo

image

Checklist:

andys8 commented 3 years ago

@vladciobanu What do you think of this?

eviefp commented 3 years ago

Is this usual for other syntax highlight plugins? I think so, right? It looks fine to me, and nobody objected so far...

andys8 commented 3 years ago

This or a similar highlighting is part of some/many languages. Here is a link to a search to the vim repository itself.

https://github.com/search?q=FIXME+repo%3Avim%2Fvim+path%3A%2Fruntime%2Fsyntax+language%3A%22Vim+script%22+language%3A%22Vim+script%22&type=Code&l=Vim+script&l=Vim+script