Skip to content

Update deprecated API method in docs #2230

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

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

Conversation

924312
Copy link

@924312 924312 commented May 27, 2025

PR Summary

Not super familiar with Neovim but this is deprecated

vim.api.nvim_buf_set_option(bufnr, 'omnifunc', 'v:lua.vim.lsp.omnifunc')

and I believe this is the fix

vim.api.nvim_set_option_value("omnifunc", "v:lua.vim.lsp.omnifunc", { buf = bufnr })

PR Context

@924312 924312 requested a review from a team as a code owner May 27, 2025 07:08
Copy link
Member

@andyleejordan andyleejordan left a comment

Choose a reason for hiding this comment

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

TY

@andyleejordan andyleejordan changed the title Update getting_started.md - replace deprecated API method Update deprecated API method in docs Jun 18, 2025
@andyleejordan andyleejordan enabled auto-merge (squash) June 18, 2025 03:49
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants