Skip to content

Language Server Protocol

Gonzalo Larumbe edited this page Jun 8, 2023 · 5 revisions

Supported servers

Requirements

  • Make sure that Language Server binary you are using is in the $PATH:
    $ which vhdl_ls
    /usr/local/bin/vhdl_ls
  • Configure vhdl-ext to connect to that server:
    • Interactively:
      • For lsp-mode: M-x vhdl-ext-lsp-set-serverRET ve-rust-hdl
      • For eglot: M-x vhdl-ext-eglot-set-serverRET ve-rust-hdl
    • Programatically:
      ;; For `lsp-mode':
      (vhdl-ext-lsp-set-server 've-rust-hdl)
      ;; For `eglot':
      (vhdl-ext-eglot-set-server 've-rust-hdl)

Configuration

Depending on the Language Server you are using different configuration methods exist, such as YAML, JSON or TOML files placed at the workspace root. To know how to configure each Language Server refer to their respective documentation.

Clone this wiki locally