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

Cross filetype file operations (svelte) #39

Open
einarpersson opened this issue Sep 10, 2024 · 1 comment
Open

Cross filetype file operations (svelte) #39

einarpersson opened this issue Sep 10, 2024 · 1 comment

Comments

@einarpersson
Copy link

I have just tried this plugin and it kinda works, but if I rename a typescript file I would like both typescript files and svelte files importing from this to be updated, but it seems as if only typescript files are affected.

Is this a known limitation of this plugin currently (working across files) or should it be possible to configure somehow? I understand that you may not be using svelte yourself, but I guess the question is a bit more general than just svelte.

@antosha417
Copy link
Owner

Hi, thanks for reaching out!

This plugin acts as a proxy from the filetree plugin to the language server (LSP) of your choice. It doesn't have any language-specific logic built into it.

Which language server are you using? Does it support Svelte? If the LSP you're using doesn't support Svelte, I'd recommend opening an issue (or even better, submitting a PR) there. That way, the whole LSP community can benefit from your improvements, not just users of nvim-lsp-file-operations.

Let me know if you need any further guidance!

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