#31 Included in Emacs lsp-mode

Closed
opened 1 month ago by chrbirks · 2 comments
chrbirks commented 1 month ago

Just a FYI since I didn't find any other methods of messaging.

I committed an update to lsp-mode for Emacs that sets up a connection to your server so you only need to include the lsp-mode package, specify the server path and add a hook when starting vhdl-mode. For example:

(require 'use-package)
(setq lsp-vhdl-server-path "/PATH/TO/vhdl-tool")

(use-package lsp-mode
         :config
         (add-hook 'vhdl-mode-hook 'lsp))

https://github.com/emacs-lsp/lsp-mode/pull/1072

Just a FYI since I didn't find any other methods of messaging. I committed an update to lsp-mode for Emacs that sets up a connection to your server so you only need to include the lsp-mode package, specify the server path and add a hook when starting vhdl-mode. For example: ``` (require 'use-package) (setq lsp-vhdl-server-path "/PATH/TO/vhdl-tool") (use-package lsp-mode :config (add-hook 'vhdl-mode-hook 'lsp)) ``` https://github.com/emacs-lsp/lsp-mode/pull/1072
vhdl-tool commented 1 month ago
Owner

Thanks! I wanted to do something like that but Emacs was a bit mysterious... I'll update the Emacs instructions.

Thanks! I wanted to do something like that but Emacs was a bit mysterious... I'll update the Emacs instructions.
vhdl-tool commented 1 week ago
Owner

I've updated the example Emacs config. Thanks again!

I've updated the example Emacs config. Thanks again!
Sign in to join this conversation.
No Label
No Milestone
No assignee
2 Participants
Loading...
Cancel
Save
There is no content yet.