mirror of
https://github.com/hazemKrimi/config.nvim.git
synced 2026-05-01 18:20:26 +00:00
47 lines
1.3 KiB
Lua
47 lines
1.3 KiB
Lua
-- Standalone plugins with less than 10 lines of config go here
|
|
return {
|
|
{
|
|
-- Detect tabstop and shiftwidth automatically
|
|
'tpope/vim-sleuth',
|
|
},
|
|
{
|
|
-- Powerful Git integration for Vim
|
|
'tpope/vim-fugitive',
|
|
},
|
|
{
|
|
-- GitHub integration for vim-fugitive
|
|
'tpope/vim-rhubarb',
|
|
},
|
|
{
|
|
-- Hints keybinds
|
|
'folke/which-key.nvim',
|
|
},
|
|
{
|
|
'pmizio/typescript-tools.nvim',
|
|
dependencies = { 'nvim-lua/plenary.nvim', 'neovim/nvim-lspconfig' },
|
|
opts = {},
|
|
},
|
|
{
|
|
-- High-performance color highlighter
|
|
'norcalli/nvim-colorizer.lua',
|
|
config = function()
|
|
require('colorizer').setup()
|
|
end,
|
|
},
|
|
{ 'folke/todo-comments.nvim', event = 'VimEnter', dependencies = { 'nvim-lua/plenary.nvim' }, opts = { signs = false } },
|
|
{
|
|
'github/copilot.vim',
|
|
config = function()
|
|
vim.keymap.set('n', '<leader>ec', ':Copilot enable<CR>', { desc = 'Enable Copilot', noremap = false, silent = true })
|
|
vim.keymap.set('n', '<leader>dc', ':Copilot disable<CR>', { desc = 'Disable Copilot', noremap = false, silent = true })
|
|
vim.keymap.set('i', '<C-g>', 'copilot#Accept("\\<CR>")', {
|
|
expr = true,
|
|
replace_keycodes = false,
|
|
silent = true,
|
|
noremap = true,
|
|
})
|
|
vim.g.copilot_no_tab_map = true
|
|
end,
|
|
},
|
|
}
|