Closed zm-cttae closed 1 year ago
@sumneko this is ready to go!
If you want to test it manually:
$ git clone https://github.com/lunarmodules/LDoc.git
Search for --[[
and -- @
to see working tags.
We can automate testing in this PR (or new PR?).
See http://mathworks/MATLAB-Language-grammar@58ecf4f
/package.json#L5-L9 for a demo.
Thank you!
We can automate testing in this PR (or new PR?). See http://mathworks/MATLAB-Language-grammar@
58ecf4f
/package.json#L5-L9 for a demo.
You can make a new PR
I did some tests and found some confics. I'd like to view these as comments.
Wrong color with inline comments
I'd like to view these as comments.
Let's remove the summary feature - it was a stretch goal anyway tbh.
Wrong color with inline comments
This seems like a regression in block comment matching.
It's likely that the block documentation tag is beginning too early and causing this.
It should start from --[[\n\G
(second line), not --[[\G
.
Could you please make a new PR to fix them?
Yepyep and also tracking issue just to inform people.
Have we validated the 2 regressions aren't present now? The first one has definitely been patched now (removed rule & grammar also valid).
Have we validated the 2 regressions aren't present now? The first one has definitely been patched now (removed rule & grammar also valid).
I'll try it myself for a few days first
@
tags inside of block comments--
tag prefix as well as---
-{1,4}
prefix support in block comment---
as LDoc summary/header (likely requiring LSP)