Skip to content

Change cmd to cmd_builder in README.md #100

Description

@JulianGoede

The description in https://github.com/lspcontainers/lspcontainers.nvim#additional-languages
describes how to startup the language server using a custom command.
The actual "lspcontainers" keyword for this is cmd_builder instead of cmd:

cmd = lspcontainers.command('html', {
	image = "lspcontainers/html-language-server:1.4.0",
	cmd_builder = function (runtime, volume, image)
      return {
        runtime,
        "container",
        "run",
        "--interactive",
        "--rm",
        "--volume",
        volume,
        image
      }
    end,
  }),

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions