Skip to content

fix deprecated client.request and vim.validate calls#617

Merged
ray-x merged 1 commit into
ray-x:masterfrom
qwexvf:fix/deprecated-apis
May 4, 2026
Merged

fix deprecated client.request and vim.validate calls#617
ray-x merged 1 commit into
ray-x:masterfrom
qwexvf:fix/deprecated-apis

Conversation

@qwexvf

@qwexvf qwexvf commented May 4, 2026

Copy link
Copy Markdown
Contributor

Replace deprecated Neovim 0.11+ APIs in the gopls integration: switch client.request / client.request_sync to the colon-method form (client:request), and convert the old vim.validate({ name = { val, type } }) table form to the new positional vim.validate(name, val, type, optional) calls.

No behavior change

just silences the deprecation warnings shown in :checkhealth and prepares for Nvim 0.13 / 1.0 where these get removed.

@ray-x ray-x left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@ray-x
ray-x merged commit b44b75e into ray-x:master May 4, 2026
2 checks passed
@qwexvf
qwexvf deleted the fix/deprecated-apis branch May 4, 2026 22:47
ray-x added a commit that referenced this pull request May 6, 2026
  - replace deprecated codelens clear/refresh calls with enable toggles
  - increase StyLua column width to 160 for the updated formatting
  Refs #617
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.

2 participants