fix(copilot-chat): ignore LSP keymaps in chat window

The copilot-chat filetype is added to the global list of filetypes that should ignore LSP keymaps, preventing keymap conflicts in the chat interface.
This commit is contained in:
Gary Murray 2025-01-01 02:48:39 -07:00
parent 636e7b7691
commit 3c7f2798dc

View file

@ -75,6 +75,9 @@ return {
end,
})
-- Add copilot-chat to the list of filetypes that should ignore LSP keymaps
vim.g.keymaps_lsp_ignore_ft = vim.list_extend(vim.g.keymaps_lsp_ignore_ft or {}, { "copilot-chat" })
chat.setup(opts)
end,
},