Skip to content

Fixes #427: Update Neovim CodeLens setup docs#433

Open
devin-ai-integration[bot] wants to merge 1 commit into
mainfrom
devin/427-1778363234-neovim-codelens-docs
Open

Fixes #427: Update Neovim CodeLens setup docs#433
devin-ai-integration[bot] wants to merge 1 commit into
mainfrom
devin/427-1778363234-neovim-codelens-docs

Conversation

@devin-ai-integration
Copy link
Copy Markdown
Contributor

@devin-ai-integration devin-ai-integration Bot commented May 9, 2026

Summary

Updates the Neovim CodeLens setup docs to reflect the Neovim 0.12+ vim.lsp.codelens.enable(true) API instead of recommending repeated vim.lsp.codelens.refresh() autocmds.

Also documents:

  • a minimal global enable snippet for users calling vim.lsp.enable('markdown_oxide')
  • an optional LspAttach snippet scoped to markdown_oxide
  • a note that vim.lsp.codelens.refresh({ bufnr = args.buf }) remains the Neovim <= 0.11 approach

Refs #427

Review & Testing Checklist for Human

  • Verify the Neovim 0.12+ vim.lsp.codelens.enable(true, { bufnr = args.buf, client_id = client.id }) scoped example matches the current Neovim API and preferred style.
  • Confirm both docs copies should remain manually synchronized.
  • Optional: test the snippet in Neovim nightly/0.12 with markdown_oxide attached and confirm reference-count CodeLens appears.

Notes

Docs-only change; no Rust code changed.

Link to Devin session: https://app.devin.ai/sessions/c29484843aef4a05bac4df8517e0af80
Requested by: @Feel-ix-343


Open in Devin Review

Co-Authored-By: Felix Zeller <felixazeller@gmail.com>
@devin-ai-integration
Copy link
Copy Markdown
Contributor Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

Copy link
Copy Markdown
Contributor Author

@devin-ai-integration devin-ai-integration Bot left a comment

Choose a reason for hiding this comment

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

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Open in Devin Review

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