-
-
Notifications
You must be signed in to change notification settings - Fork 5
Language Server Protocol
Gonzalo Larumbe edited this page Apr 7, 2024
·
5 revisions
- 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-bridge
: M-xvhdl-ext-lsp-bridge-set-server
RETve-rust-hdl
- For
lsp-mode
: M-xvhdl-ext-lsp-set-server
RETve-rust-hdl
- For
eglot
: M-xvhdl-ext-eglot-set-server
RETve-rust-hdl
- For
lspce
: M-xvhdl-ext-lspce-set-server
RETve-rust-hdl
- For
- Programatically:
;; For `lsp-bridge: (vhdl-ext-lsp-bridge-set-server 've-rust-hdl) ;; For `lsp-mode': (vhdl-ext-lsp-set-server 've-rust-hdl) ;; For `eglot': (vhdl-ext-eglot-set-server 've-rust-hdl) ;; For `lspce': (vhdl-ext-lspce-set-server 've-rust-hdl)
- Interactively:
Depending on the Language Server you are using different configuration methods exist, such as YAML, JSON or TOML files placed at the project root. To know how to configure each Language Server refer to their respective documentation.