Closed GlorifiedPig closed 1 year ago
Hi!
You can add --
to the commentAnchors.tags.matchPrefix setting and you will be able to be able to use Comment Anchors in Lua comments.
Add it via the extension settings here:
or you can just copy this text into your settings.json
file and it will do the same thing:
"commentAnchors.tags.matchPrefix": [
"<!--",
"//",
"/*",
"/**",
"*",
"#",
"--"
]
Anchors will continue to display even if the syntax of that particular language is invalid, this is due to the extension being language-independent.
Hope this helps and thank you so much for your support! :-)
Thanks a lot, this also allowed me to add support for Lisp.
Hey. Lua uses
--
to declare a comment. Anchors do not work because of this. If I do//
however, it will work despite having invalid syntax.