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

Randomly opens JSON files from project #199

Open
antoinegomez opened this issue Sep 4, 2024 · 5 comments
Open

Randomly opens JSON files from project #199

antoinegomez opened this issue Sep 4, 2024 · 5 comments

Comments

@antoinegomez
Copy link

Having I think one problem related to this plugin.

In some projects, it occurred in two different ones, while I am editing a TS/JS/React file nvim will randomly opens JSON files in the current buffer. If I am in a popup it will put it there, otherwise in the main buffer.

Cannot be 100% sure it is vtsls problem and trying to narrow it down.
For now I switched back to typescript-tools.

I will try to reproduce and if possible make it reproducible and you can understand that it is not easy to do because it happens on private company repo projects.

My config is here:

https://gitlab.com/gomezantoine/dotfiles/-/blob/master/.config/nvim/lua/antoine/lsp/typescript.lua?ref_type=heads

@yioneko
Copy link
Owner

yioneko commented Sep 5, 2024

Does this happen with enableProjectDiagnostics set to false?

@agravelot
Copy link

For reference: LazyVim/LazyVim#3857

@antoinegomez
Copy link
Author

Does this happen with enableProjectDiagnostics set to false?

No

Changed it to false and it is not happening again. So seems correlated.

@agravelot
Copy link

Does this happen with enableProjectDiagnostics set to false?

No

Changed it to false and it is not happening again. So seems correlated.

I confirm

@yioneko
Copy link
Owner

yioneko commented Oct 30, 2024

Will (try to) fix it in the next release

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

3 participants