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: offset_encoding is required now in make_position_params #3368

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rockyzhang24
Copy link
Contributor

@rockyzhang24 rockyzhang24 commented Nov 24, 2024

Adapt to the upstream change neovim/neovim@629483e to get rid of the warning message "warning: offset_encoding is required, using the offset_encoding from the first client".

Since the commit neovim/neovim@2dcbfe7, params in buf_request can accept a function that takes the client as a parameter. So instead of sending the same params to all servers, the params with correct offset_encoding will send to each single server.

@rockyzhang24 rockyzhang24 force-pushed the fix-encoding branch 3 times, most recently from 49478e8 to 141c8f7 Compare November 24, 2024 04:53
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.

1 participant