atom / language-todo

TODO highlighting package for Atom
Other
81 stars 66 forks source link

Wont highlight TODO: comments in C files #89

Closed gehrigwilcox closed 5 years ago

gehrigwilcox commented 5 years ago

Prerequisites

Description

language-todo won't highlight in C files

Steps to Reproduce

  1. Write TODO: comment in a C/C++ file (doesn't matter if it is a single line comment or a block comment)

Expected behavior: TODO: comment should be highlighted

Actual behavior: TODO: comment isn't highlighted

Reproduces how often: 100%

Versions

Atom : 1.32.2 Electron: 2.0.9 Chrome : 61.0.3163.100 Node : 8.9.3

OS: OS X Sierra 10.12.6

gehrigwilcox commented 5 years ago

NOTE: Testing more, It seems that TODO highlighting is only working in a select few languages such as Java, Javascript, CoffeeScript, and CSS. If I look at the scope for the TODO comment in the broken language, it only recognizes the comment.block and the source. scopes

gehrigwilcox commented 5 years ago

Found the issue, disabling Use Tree Sitter Parsers fixes the problem