Compare commits

...

3 Commits

Author SHA1 Message Date
584f9a50b6 install codeium, a free github copilot alternative 2024-03-03 01:47:24 +01:00
6ebdcfe7ef unused blank line 2024-03-03 01:47:08 +01:00
847a2658f8 additional treesitter plugins 2024-03-03 01:46:46 +01:00
3 changed files with 15 additions and 8 deletions

View 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',
},
}

View File

@ -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,
}, },
} }

View File

@ -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