Firstly - thanks for this - the lsp seems to work out of the box.
But it fell over on the below in my asciidoc file:
ifdef::backend-pdf,backend-docbook5[]
... actual content snipped
endif::backend-pdf,backend-docbook5[]
produces this error:
[acdc] Invalid conditional directive, position: line: 61, column: 1
And sulks - no symbol output.
Removing the ,backend-docbook5[] solves the problem but AFAICT the above syntax is correct:
https://docs.asciidoctor.org/asciidoc/latest/directives/ifdef-ifndef/#checking-multiple-attributes
Apart from that, everything seems OK. I'm getting a diagnostic report and symbols grouped under level 1 headings. Nice.
I'm running this in Kate, btw, with this configuration:
"asdc-lsp": {
"command": "/home/paul/.cargo/bin/acdc-lsp",
"url": "https://github.com/nlopes/acdc/tree/main/acdc-lsp",
"highlightingModeRegex": "^AsciiDoc$"
},
Firstly - thanks for this - the lsp seems to work out of the box.
But it fell over on the below in my asciidoc file:
produces this error:
[acdc] Invalid conditional directive, position: line: 61, column: 1
And sulks - no symbol output.
Removing the
,backend-docbook5[]solves the problem but AFAICT the above syntax is correct:https://docs.asciidoctor.org/asciidoc/latest/directives/ifdef-ifndef/#checking-multiple-attributes
Apart from that, everything seems OK. I'm getting a diagnostic report and symbols grouped under level 1 headings. Nice.
I'm running this in Kate, btw, with this configuration: