0.7.1 • Published 11 months ago

markdoc-ls v0.7.1

Weekly downloads
-
License
MIT
Repository
github
Last release
11 months ago

Using with Neovim

This requires that you've already enabled markdoc language support with tree-sitter-markdoc.

  1. Define new config for markdoc lanaguage server.
local configs = require("lspconfig.configs")
if not configs.markdoc_ls then
    configs.markdoc_ls = {
      default_config = {
        cmd = { "markdoc-ls", "--stdio" },
        filetypes = { "markdoc" },
        root_dir = function(fname)
          return lspconfig.util.find_package_json_ancestor(fname)
        end,
        settings = {},
      },
    }
  end
  1. Setup language server after defining on_attach and capablities.
local lspconfig = require("lspconfig")
lspconfig.markdoc_ls.setup({
  on_attach = on_attach,
  capabilities = capabilities,
})
0.7.1

11 months ago

0.6.2

12 months ago

0.7.0

11 months ago

0.6.1

1 year ago

0.5.0

1 year ago

0.4.0

1 year ago

0.6.0

1 year ago

0.3.0

1 year ago

0.2.0

1 year ago

0.1.2

1 year ago

0.1.1

1 year ago

0.1.0

1 year ago