Unfortunately, CLMs are somewhat limited. The sufficiently motivated user might 
consider implementing a code-based language module instead. Documentation here:

http://www.barebones.com/support/develop/index.html

And unless I’m mistaken, currently BBEdit does not use LSP information for 
syntax highlighting.

Cheers,
-sam

On 23 Feb 2022, at 0:32, Brian Forte wrote:

> Gentlefolk,
>
> Regarding the $subject above, I’ve installed fblome’s Codeless
> Language Module (CLM), <https://github.com/fblome/bbedit-asciidoc> .
> And, while absolutely acknowledging I’m looking a gift horse in the
> mouth, the syntax highlighting it provides is underwhelming.
>
> Equivalent add-ons are available for other editors.
>
> For *VSCodium* there’s
> <https://open-vsx.org/extension/asciidoctor/asciidoctor-vscode> .
>
> For *Atom* there’s
> <https://github.com/asciidoctor/atom-language-asciidoc>
> (most readily installed as part of
> <https://github.com/asciidoctor/atom-asciidoc-assistant> ).
>
> And both these add-ons make their respective editors delineate
> syntactic elements more completely than the CLM available for BBEdit.
> But I absolutely prefer BBEdit as a working environment. The
> combination of BBEdit’s many specific niftinesses, and proper macOS
> nativeness, is still a serious win.
>
> Also, while the VSCodium extension and the Atom package highlight more
> syntatic elements than fblome’s CLM, neither is complete. The most
> complete, so far as I can gather, is MacVim’s built-in AsciiDoc syntax
> highlighting. And I *really* don’t want to use any flavour of `vim`.
>
> I’ve exhausted my own Google-fu and thought asking real people might
> turn up something I’ve missed. Either a better AsciiDoc CLM, or,
> perhaps, an AsciiDoc Language Server Protocol (LSP) that I’ve not
> managed to turn up.
>
> Many thanks, in advance.
>
> Regards,
>
> Brian Forte.
> -- 
> Brian Forte
> <[email protected]>
>
> -- 
> This is the BBEdit Talk public discussion group. If you have a feature 
> request or need technical support, please email "[email protected]" 
> rather than posting here. Follow @bbedit on Twitter: 
> <https://twitter.com/bbedit>
> ---
> You received this message because you are subscribed to the Google Groups 
> "BBEdit Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/bbedit/20220223153231509444.cb2348be%40adelaide.on.net.

-- 
This is the BBEdit Talk public discussion group. If you have a feature request 
or need technical support, please email "[email protected]" rather than 
posting here. Follow @bbedit on Twitter: <https://twitter.com/bbedit>
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bbedit/D4D2F532-A897-44E7-ACF9-962E2A83EB6F%40munkynet.org.

Reply via email to