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

Fix missing reference to stop_client() in init.lua #25

Merged
merged 1 commit into from
Jan 16, 2023

Conversation

cnrrobertson
Copy link
Contributor

I've been getting an error about a missing reference for stop_client() in the Telescope picker. I think it was a simple typo, so I've fixed it. For my purposes, the fix seems to work well.

However, there is a M.stop_client() in init.lua which from what I can tell looks to stop all clients attached to a buffer. It isn't used in all of the functions, so I stuck with the simple vim.lsp.stop_client().

@HallerPatrick
Copy link
Owner

Yes that is my fault. I moved the picker logic to its own file and failed to adjust the imports. I will stick with your call to vim.lsp.stop_client for now.

Thank you for the report :)

@HallerPatrick HallerPatrick merged commit 43b26db into HallerPatrick:main Jan 16, 2023
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

Successfully merging this pull request may close these issues.

None yet

2 participants