Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Verilog-mode with LSP? #1814

Open
unfrostedpoptart opened this issue Sep 28, 2022 · 2 comments
Open

Verilog-mode with LSP? #1814

unfrostedpoptart opened this issue Sep 28, 2022 · 2 comments

Comments

@unfrostedpoptart
Copy link

unfrostedpoptart commented Sep 28, 2022

Sorry - this is more a help request than an issue with verilog-mode although I think this is the best place for it to be seen by the desired audience.

A while back ( https://github.com/veripool/verilog-mode/issues/1710 ), I asked about using LSP with Verilog-mode but Wilson wasn't interested in adding support. Now that I understand LSP a tiny bit better, I think I can ask a more intelligent question:

Is anyone using verilog-mode and LSP together and have a working configuration? From my slightly better understanding of LSP, verilog-mode would still be used for the wonderful AUTO functionality. It might also be in charge of indentation but I'm not positive on this. However, the font-lock stuff would all be disabled and LSP would handle this. And, LSP would also deal with all the completion and links to definitions. Therefore, I don't think verilog-mode needs any changes to work with LSP - just a few setq-s.

So, I'm hoping someone here has set this up and can give installation and configuration tips!

@gmlarumbe
Copy link
Contributor

Hi @unfrostedpoptart

You could take a look at verilog-ext package. It provides functions that ease the setup of lsp and eglot for verilog-mode:

@unfrostedpoptart
Copy link
Author

Thanks! It's still about a hundred steps from the docs but I think I can follow it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants