I'm using LazyVim and CopilotChat.nvim (commit fa8bb09). When I run :CopilotChatCommit or similar commands (e.g. select_prompt()), I get this error:
Error executing vim.schedule lua callback: ...share/nvim/lazy/plenary.nvim/lua/plenary/async/async.lua:18: The coroutine failed with this message: Vim:E21: Cannot make changes, 'modifiable' is off
stack traceback:
[C]: in function 'error'
...share/nvim/lazy/plenary.nvim/lua/plenary/async/async.lua:18: in function 'callback_or_next'
...share/nvim/lazy/plenary.nvim/lua/plenary/async/async.lua:45: in function 'callback'
...are/nvim/lazy/CopilotChat.nvim/lua/CopilotChat/utils.lua:681: in function 'returned_function'
...share/nvim/lazy/plenary.nvim/lua/plenary/async/async.lua:31: in function 'callback_or_next'
...share/nvim/lazy/plenary.nvim/lua/plenary/async/async.lua:45: in function 'step'
...share/nvim/lazy/plenary.nvim/lua/plenary/async/async.lua:48: in function 'execute'
...share/nvim/lazy/plenary.nvim/lua/plenary/async/async.lua:108: in function 'run'
...vim/lazy/CopilotChat.nvim/lua/CopilotChat/completion.lua:166: in function ''
vim/_editor.lua: in function ''
vim/_editor.lua: in function <vim/_editor.lua:0>
Let me know if you need anything else!
update: does not happen in v4.3.0 only in v4.3.1 v4.4.0
I'm using LazyVim and CopilotChat.nvim (commit fa8bb09). When I run :CopilotChatCommit or similar commands (e.g. select_prompt()), I get this error:
Let me know if you need anything else!
update: does not happen in v4.3.0 only in v4.3.1 v4.4.0