Skip to content

E5113: Error while calling lua chunk ../path/ attempt to index field 'inline_completions' (a nil value) when following Neovim documentation && provided example in Copilot.lua #4156

@lewallenbrandon

Description

@lewallenbrandon

Description

Hi,

I am on an M1 Mac and have installed, and updated, Neovim to 0.11.4 via Homebrew. I'm receiving this error when using the provided autocmd in the copilot.lua file.

I did some debugging and the documentation and file mention "vim.lsp.inline_completion.enable()" and ":help lsp-inline-completion," respectively. It seems that these do not exist.

My structure is as follows. Note, this uses Lazy and its required structure.
init.lua
lsp/
lua/
-- lua/config/lsp (here is where I vim.lsp.enable() everything)

I am unsure if the issue is something with my configuration; that doesn't seem likely since the above two do not exist, but maybe I'm wrong here.

This may be an issue with vim.lsp and if so, happy to close this and make it there.

If there's any other information you all need me to provide, please let me know.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions