Closed yingzhu146 closed 1 year ago
https://github.com/neovim/neovim/issues/17615#issuecomment-1386848317 -
the input field has ""
as filetype
{
"github/copilot.vim",
event = "VeryLazy",
build = "curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash",
config = function()
vim.g.copilot_filetypes = {
["chatgpt"] = false,
["python"] = true,
["lua"] = true,
["rust"] = true,
["clojure"] = true,
["R"] = true,
["nu"] = true,
["javascript"] = true,
["typescript"] = true,
["go"] = true,
["markdown"] = true,
["*"] = false,
}
end,
},
will solve the issue
Hi,
nvim head, macOS, ARM. Lazy.vim. on commit
60b4824
, but this has been happening since first install (since reddit intro post).I'm getting the following error:
error
``` Error executing lua callback: ...lar/neovim/0.8.2/share/nvim/runtime/lua/vim/lsp/sync.lua:177: attempt to get length of local 'prev_line' (a nil value) stack traceback: ...lar/neovim/0.8.2/share/nvim/runtime/lua/vim/lsp/sync.lua:177: in function 'compute_start_range' ...lar/neovim/0.8.2/share/nvim/runtime/lua/vim/lsp/sync.lua:408: in function 'compute_diff' ...w/Cellar/neovim/0.8.2/share/nvim/runtime/lua/vim/lsp.lua:442: in function 'incremental_changes' ...w/Cellar/neovim/0.8.2/share/nvim/runtime/lua/vim/lsp.lua:635: in function 'send_changes' ...w/Cellar/neovim/0.8.2/share/nvim/runtime/lua/vim/lsp.lua:1547: in function <...w/Cellar/neovim/0.8.2/share/nvim/runtime/lua/vim/lsp.lua:1541> ```LspInfo shows the following
and my null-ls says nothing attached
it looks like something lsp related but no idea why - this only happens in the nui window in chatgpt, nowhere else.
many thanks for the help!