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

include_deprecated not working? #10

Open
rieje opened this issue Mar 18, 2023 · 1 comment
Open

include_deprecated not working? #10

rieje opened this issue Mar 18, 2023 · 1 comment

Comments

@rieje
Copy link

rieje commented Mar 18, 2023

I have:

sources = {
  { name = "nvim_lsp" },
  { name = "nvim_lua", include_deprecated = true },
  { name = "luasnip" },
  { name = "buffer" },
  { name = "path" },
},

inside the setup function, but I test this by going to deprecated.txt and entering a function listed as deprecated like vim.lsp.diagnostic.clear but the entry still does not show up. Is above how you set include_deprecated? The reason I want it to show is to confirm CmpItemAbbrDeprecated is working,

Thank you.

@bew
Copy link

bew commented Sep 17, 2023

Setting source options is normally done like this:

sources = {
  -- ...
  { name = "nvim_lua", option = { include_deprecated = true } },
}

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

No branches or pull requests

2 participants