mirror of
https://github.com/hazemKrimi/config.nvim.git
synced 2026-05-01 18:20:26 +00:00
54 lines
1.4 KiB
Lua
54 lines
1.4 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 = {},
|
|
},
|
|
{
|
|
-- Autoclose parentheses, brackets, quotes, etc.
|
|
'windwp/nvim-autopairs',
|
|
event = 'InsertEnter',
|
|
config = true,
|
|
opts = {},
|
|
},
|
|
{
|
|
-- Highlight todo, notes, etc in comments
|
|
'folke/todo-comments.nvim',
|
|
event = 'VimEnter',
|
|
dependencies = { 'nvim-lua/plenary.nvim' },
|
|
opts = { signs = false },
|
|
},
|
|
{
|
|
-- 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 })
|
|
end,
|
|
},
|
|
}
|