Skip to content

Commit

Permalink
PlugInstall configuration should be wrapped into lua (#127)
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-slynko authored Mar 6, 2024
1 parent 8434e3b commit f852a10
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ Similar to the lazy setup, you can use the following configuration:
Plug 'CopilotC-Nvim/CopilotChat.nvim'
call plug#end()

lua << EOF
local copilot_chat = require("CopilotChat")
copilot_chat.setup({
debug = true,
Expand All @@ -135,6 +136,8 @@ copilot_chat.setup({
event = "VeryLazy",
})

EOF

nnoremap <leader>ccb <cmd>CopilotChatBuffer<cr>
nnoremap <leader>cce <cmd>CopilotChatExplain<cr>
nnoremap <leader>cct <cmd>CopilotChatTests<cr>
Expand Down

0 comments on commit f852a10

Please sign in to comment.