gmlarumbe / vhdl-ext

VHDL Extensions for Emacs
GNU General Public License v3.0
27 stars 5 forks source link

Problem with Language Server Protocol #10

Closed abaebae closed 1 month ago

abaebae commented 1 month ago

I want to setup vhdl-ext together with rust_hdl as language server. I added vhdl_ls to my $PATH

~ ❯ which vhdl_ls
/usr/local/bin/vhdl_ls
~ ❯ vhdl_ls --version
vhdl_ls 0.82.0

In the *Messages* buffer I see the message [vhdl-ext eglot]: ve-rust-hdl [2 times] but the LS is not startet. Not sure what is missing in my configuration?

;; vhdl-ts-mode
(use-package vhdl-ts-mode
  :mode (("\\.vhdl?\\'" . vhdl-ts-mode)))

;; vhdl-ext
(use-package vhdl-ext
  :hook ((vhdl-mode . vhdl-ext-mode))
  :init
  ;; Can also be set through `M-x RET customize-group RET vhdl-ext':
  ;; Comment out/remove the ones you do not need
  (setq vhdl-ext-feature-list
        '(font-lock
          xref
          capf
          hierarchy
          eglot
          beautify
          navigation
          template
          compilation
          imenu
          which-func
          hideshow
          ports))
  :config
  (vhdl-ext-mode-setup))
abaebae commented 1 month ago

Rebuild the ls, works now. Not sure what the problem was