Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Suggestion:] 希望能给已经识别到的Tag(如TODO),提供高亮选项。 #629

Open
PythonYunfei opened this issue Oct 16, 2024 · 3 comments

Comments

@PythonYunfei
Copy link

目前两款能高亮TODO的插件均已停更一年多,大量bug未修:
image

故希望能为插件支持识别的Tag提供高亮选项。如果取消某类tag的高亮(默认为取消状态),则跟原先颜色(即comment颜色)相同。

@thqby
Copy link
Owner

thqby commented Oct 28, 2024

对应的textmate scopes是什么?

@PythonYunfei
Copy link
Author

奇怪,textmate scopes识别为comment.line.ahk2
image
但是QuickOpen命令输入@却能识别到:
image

@RaptorX
Copy link
Contributor

RaptorX commented Oct 29, 2024

Strange, textmate scopesit is recognized as comment.line.ahk2.

I think he meant what is the scope of the highlighted comments in the other plugins maybe?

I think you would create your own scopes @thqby
I implemented something similar a while back when i was messing with a v1 lexer and I had it as comment.line.keyword.ahk

wher keyword was something that I added myself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants