config changes

This commit is contained in:
H2Shami 2025-02-12 22:23:22 -08:00
parent 38f4744e25
commit 27968559d8
5 changed files with 59 additions and 12 deletions

View file

@ -0,0 +1,13 @@
-- You can add your own plugins here or in other files in this directory!
-- I promise not to create any merge conflicts in this directory :)
--
-- See the kickstart.nvim README for more information
return {
-- Github Copilot
'github/copilot.vim',
config = function()
vim.g.copilot_assume_mapped = true
vim.g.copilot_no_tab_map = true
vim.api.nvim_set_keymap('i', '<C-J>', 'copilot#Accept("<CR>")', { silent = true, expr = true })
end,
}

View file

@ -0,0 +1,5 @@
return {
require('gitsigns').setup {
current_line_blame = true,
},
}

View file

@ -1,5 +0,0 @@
-- You can add your own plugins here or in other files in this directory!
-- I promise not to create any merge conflicts in this directory :)
--
-- See the kickstart.nvim README for more information
return {}

View file

@ -0,0 +1,9 @@
return {
'nvim-treesitter/nvim-treesitter-context',
dependencies = { 'nvim-treesitter/nvim-treesitter' },
config = function()
require('treesitter-context').setup {
mode = 'topline',
}
end,
}