mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-07-16 20:34:39 +02:00
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:
parent
636e7b7691
commit
3c7f2798dc
1 changed files with 3 additions and 0 deletions
|
@ -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,
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue