Skip to content

fix(lsp): vim.lsp.codelens.refresh() is deprecated#611

Open
ryancragun wants to merge 1 commit intoray-x:masterfrom
ryancragun:codelense-deprecation
Open

fix(lsp): vim.lsp.codelens.refresh() is deprecated#611
ryancragun wants to merge 1 commit intoray-x:masterfrom
ryancragun:codelense-deprecation

Conversation

@ryancragun
Copy link
Copy Markdown
Contributor

Fix a deprecated call. Run checkhealth vim:deprecated on nvim >= 0.0.12

WARNING vim.lsp.codelens.refresh({ bufnr = bufnr}) is deprecated. Feature will be removed in Nvim 0.13.0
  - ADVICE:
    - use vim.lsp.codelens.enable(true, { bufnr = bufnr }) instead.

Signed-off-by: Ryan Cragun <me@ryan.ec>
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