mirror of
https://github.com/Baipyrus/nvim-config.git
synced 2024-12-26 13:21:45 +00:00
Compare commits
3 Commits
eb48ce27f5
...
584f9a50b6
Author | SHA1 | Date | |
---|---|---|---|
584f9a50b6 | |||
6ebdcfe7ef | |||
847a2658f8 |
10
lua/custom/plugins/codeium.lua
Normal file
10
lua/custom/plugins/codeium.lua
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
-- Set keymap to open chat in browser
|
||||||
|
vim.keymap.set('n', '<leader>cc', ':execute codeium#Chat()<Enter>', { desc = '[C]odeium [C]hat' })
|
||||||
|
|
||||||
|
return {
|
||||||
|
-- Free Github Copilot alternative
|
||||||
|
{
|
||||||
|
'Exafunction/codeium.vim',
|
||||||
|
event = 'BufEnter',
|
||||||
|
},
|
||||||
|
}
|
@ -1,6 +1,11 @@
|
|||||||
return {
|
return {
|
||||||
|
|
||||||
{ -- Highlight, edit, and navigate code
|
{ -- Highlight, edit, and navigate code
|
||||||
'nvim-treesitter/nvim-treesitter',
|
'nvim-treesitter/nvim-treesitter',
|
||||||
|
dependencies = {
|
||||||
|
'nvim-treesitter/nvim-treesitter-context',
|
||||||
|
'nvim-treesitter/nvim-treesitter-textobjects',
|
||||||
|
},
|
||||||
build = ':TSUpdate',
|
build = ':TSUpdate',
|
||||||
config = function()
|
config = function()
|
||||||
-- [[ Configure Treesitter ]] See `:help nvim-treesitter`
|
-- [[ Configure Treesitter ]] See `:help nvim-treesitter`
|
||||||
@ -68,13 +73,6 @@ return {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
-- There are additional nvim-treesitter modules that you can use to interact
|
|
||||||
-- with nvim-treesitter. You should go explore a few and see what interests you:
|
|
||||||
--
|
|
||||||
-- - Incremental selection: Included, see :help nvim-treesitter-incremental-selection-mod
|
|
||||||
-- - Show your current context: https://github.com/nvim-treesitter/nvim-treesitter-context
|
|
||||||
-- - Treesitter + textobjects: https://github.com/nvim-treesitter/nvim-treesitter-textobjects
|
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
@ -81,4 +81,3 @@ vim.opt.cursorline = true
|
|||||||
vim.opt.scrolloff = 8
|
vim.opt.scrolloff = 8
|
||||||
|
|
||||||
-- vim: ts=2 sts=2 sw=2 et
|
-- vim: ts=2 sts=2 sw=2 et
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user