sbarex / SourceCodeSyntaxHighlight

Quick Look extension for highlight source code files on macOS 10.15 and later.
GNU General Public License v3.0
2.86k stars 69 forks source link

Problem with LSP configuration #199

Open sjmller opened 1 year ago

sjmller commented 1 year ago

Hi,

First, thank you for your great work! I love this application and its capabilities. That said, I'm currently struggling with the configuration of a Language Server, specifically for the python language.

I've tried both the pyright-langserver and the jedi-language-server, without luck so far.

This is the configuration I've tried:

image

Am I missing something here? Thanks in advance.

Best regards

sbarex commented 1 year ago

try to enable the debug settings (on the general tab), then open a preview and check inside the Desktop/colorize.log the output of the process.

andre-simon commented 1 year ago

Hi, the highlight utility (which generates the coloured output) currently sends a ClientCapabilities request to the LSP server and expects a Capabilities response. Some older servers do not support this request so highlight quits. The next version will support these "legacy" servers as they sometimes provide "hover output" (meta information of tokens).

sbarex commented 1 year ago

Highlight is updated to ver 4.4 on release 2.1.16.