prince-ao
prince-ao

Reputation: 1

How to configure neoconf.nvim to autocomplete for installed plugins?

I'm currently writing a lua plugin and I can't figure out how to get neconf.nvim to autocomplete the library methods. This is my .neoconf.json file

{
  "neodev": {
    "library": {
      "enabled": true,
      "plugins": [
        "plenary"
      ]
    }
  },
  "neoconf": {
    "plugins": {
      "lua_ls": {
        "enabled": true
      }
    }
  },
  "lspconfig": {
    "sumneko_lua": {
      "Lua.runtime.version": "LuaJIT",
      "Lua.workspace.checkThirdParty": false
    }
  }
}

I'm using LazyVim and I tried to make sure that neoconf.nvim and neodev.nvim were install properly, but autocomplete is still not working for installed plugins.

Upvotes: 0

Views: 669

Answers (1)

rcasia
rcasia

Reputation: 263

In case someone still trying to solve it. The solution is to use https://github.com/folke/lazydev.nvim instead, as neodev.nvim has been deprecated.

Upvotes: 0

Related Questions