-
Hello all. I'm trying to add support for
From: https://github.com/DavidAnson/markdownlint I decided to try to get it to work anyway - but am not having a lot of luck. Here is what I added into my [language-server.markdownlint]
command = "markdownlint"
args = [ "--stdin", "--json" ] And for the Markdown language (in the same [[language]]
name = "markdown"
language-servers = ["vale", "marksman", "markdownlint"] <------------------
file-types = ["md", "mdx"]
formatter = { command = 'prettier', args = ["--parser", "markdown"] }
text-width = 100
rulers = [100]
auto-format = true
indent = { tab-width = 2, unit = " " }
block-comment-tokens = { start = "<!--", end = "-->" } When I check the health of Helix - it seems to understand the "LSP" exists (the binary exists): ❯ hx --health markdown
Configured language servers:
✓ vale-ls: /Users/jscott/.cargo/bin/vale-ls
✓ marksman: /opt/homebrew/bin/marksman
✓ markdownlint: /opt/homebrew/bin/markdownlint <-----------------------
Configured debug adapter: None
Configured formatter: prettier
Binary for formatter: /Users/jscott/.nvm/versions/node/v18.12.1/bin/prettier
Highlight queries: ✓
Textobject queries: ✘
Indent queries: ✘ However - when I open a Markdown doc - I am seeing these errors reported from Helix:
To be fair - I don't know why the last log line complains about Anyway - what I am trying might not work with |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
It does not support the LSP protocol. You can use something like https://github.com/mattn/efm-langserver to use it instead |
Beta Was this translation helpful? Give feedback.
It does not support the LSP protocol. You can use something like https://github.com/mattn/efm-langserver to use it instead