Skip to content

include_deprecated not working? #10

Open

Description

@rieje

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.

Activity

  1. bew commented on Sep 17, 2023

    @bew

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions