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

Error to go to definition of define macro in *.vh #42

Open
beyond-fu opened this issue Aug 26, 2023 · 4 comments
Open

Error to go to definition of define macro in *.vh #42

beyond-fu opened this issue Aug 26, 2023 · 4 comments

Comments

@beyond-fu
Copy link

Here is my file organization:
image
Going to definition of variables either in current file or across files works well. But going to definition of define macro in params.vh crashes. When I press gd(goto definition) on ADDR_WIDTH, here are the error messages.
image
All the error messages are in the above picture. I have no idea what's wrong. Can anyone help me?

My Environment:
neovim v0.9.1
X86_64 Ubuntu 22.04
My nvim-lspconfig config:
I'm using LazyVim.

image

Thanks! This LSP is great!

@kkanhere
Copy link
Collaborator

kkanhere commented Sep 5, 2023

Interesting. Can you please create a small testcase that I can use to reproduce the bug on my end. Thanks

@beyond-fu
Copy link
Author

You mean a verilog project or an LSP testcase?

@kkanhere
Copy link
Collaborator

kkanhere commented Sep 6, 2023

I would need your editor details, settings, LSP settings, the verilog files. Basically everything to recreate this on my end.

@beyond-fu
Copy link
Author

OK, I will deal with it sometime. Maybe I can put all things on my github repo? And there is a very strange bug, I will open a new issue sometime.

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