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

neotest golang being loaded after loading a rust file #100

Open
shauryagoel opened this issue Nov 2, 2024 · 0 comments
Open

neotest golang being loaded after loading a rust file #100

shauryagoel opened this issue Nov 2, 2024 · 0 comments

Comments

@shauryagoel
Copy link

shauryagoel commented Nov 2, 2024

I have added these settings to lazy.lua file-

    { import = "lazyvim.plugins.extras.lang.go" },
    { import = "lazyvim.plugins.extras.lang.rust" },
    { import = "lazyvim.plugins.extras.test.core" },

Now, whenever I try to open a rust file in the rust project, and type <leader>tT to run tests in the project, the neotest-golang plugin loads and it gives an error that it is unable to find a go.mod file. This only happens whenever I type <leader>tT while the noice lsp progress is showing. If I run the tests after everything is loaded then the tests work as expected.

However, <leader>tt works fine every time. I am unable to understand why this is happening as neotest-golang should load only when there is a go file.

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

1 participant