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

[Question] Is there a reason for not longer using lsp? #383

Closed
TheLeoP opened this issue May 25, 2023 · 3 comments
Closed

[Question] Is there a reason for not longer using lsp? #383

TheLeoP opened this issue May 25, 2023 · 3 comments

Comments

@TheLeoP
Copy link
Collaborator

TheLeoP commented May 25, 2023

Some parts of the codebase still reference the use of lsp (not the Neovim lsp api like for text edits, but doing requests to external language servers using the neovim client) and checking out really old commits I found that this plugin used to make requests to external language servers. Is there a reason why this is no longer the case?

@teddylear
Copy link
Collaborator

@TheLeo If I'm remembering correctly, we found that we could do most of the desired refactors just via treesitter, which was much more lightweight than doing the same operations than using an LSP (at least that's what I remember, things could have changed by now). The other issue was adding multiple lsp's do the CI was a giant headache that also extended the runtime by a lot. So I would be hesitant to add back using lsp unless there was a good use case for using one. Where you thinking of using one for a specific use case?

@TheLeoP
Copy link
Collaborator Author

TheLeoP commented Jun 14, 2023

@teddylear Thanks for the answer. I was just confused with some parts of the code (particularly the lsp.lua file). Diggin a bit in older commits I fond that this was once used, but it no longer is. So, since the plugin isn't using LSP right now, is safe to remove this parts of the codebase?

@pranavrao145
Copy link
Collaborator

Hmm I never even noticed that. I think if we aren't using it we could probably get rid of it. Later on if we manage the task of actually integrating LSP into this plugin, we can pull related files out of the commit history.

@TheLeoP TheLeoP closed this as completed Jul 19, 2024
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