82 lines
2.4 KiB
Lua
82 lines
2.4 KiB
Lua
-- AstroCommunity: import any community modules here
|
|
-- We import this file in `lazy_setup.lua` before the `plugins/` folder.
|
|
-- This guarantees that the specs are processed before any user plugins.
|
|
|
|
---@type LazySpec
|
|
return {
|
|
"AstroNvim/astrocommunity",
|
|
{ import = "astrocommunity.pack.lua" },
|
|
-- import/override with your plugins folder
|
|
|
|
{ import = "astrocommunity.colorscheme.catppuccin" },
|
|
-- { import = "astrocommunity.editing-support.yanky-nvim" },
|
|
{ import = "astrocommunity.diagnostics.trouble-nvim" },
|
|
{ import = "astrocommunity.editing-support.todo-comments-nvim" },
|
|
{ import = "astrocommunity.editing-support.multicursors-nvim" },
|
|
-- { import = "astrocommunity.lsp.lsp-signature-nvim" },
|
|
{ import = "astrocommunity.lsp.inc-rename-nvim" },
|
|
{ import = "astrocommunity.markdown-and-latex.glow-nvim" },
|
|
-- { import = "astrocommunity.motion.flash-nvim" },
|
|
{ import = "astrocommunity.scrolling.mini-animate" },
|
|
{ import = "astrocommunity.test.neotest" },
|
|
{ import = "astrocommunity.utility.noice-nvim" },
|
|
-- { import = "astrocommunity.workflow.hardtime-nvim" },
|
|
{ import = "astrocommunity.motion.nvim-surround" },
|
|
{
|
|
"kylechui/nvim-surround",
|
|
opts = {
|
|
keymaps = {
|
|
normal = '<leader>sa',
|
|
normal_cur = false,
|
|
normal_line = false,
|
|
normal_cur_line = false,
|
|
visual = '<leader>s',
|
|
visual_line = '<leader>S',
|
|
delete = '<leader>sd',
|
|
change = '<leader>sr',
|
|
},
|
|
aliases = {
|
|
['i'] = ']', -- Index
|
|
['r'] = ')', -- Round
|
|
['b'] = '}', -- Brackets
|
|
},
|
|
},
|
|
},
|
|
{ import = "astrocommunity.completion.copilot-lua" },
|
|
{ -- further customize the options set by the community
|
|
"zbirenbaum/copilot.lua",
|
|
opts = {
|
|
suggestion = {
|
|
keymap = {
|
|
accept = "<C-l>",
|
|
accept_word = false,
|
|
accept_line = false,
|
|
next = "<C-.>",
|
|
prev = "<C-,>",
|
|
dismiss = "<C/>",
|
|
},
|
|
},
|
|
},
|
|
},
|
|
{
|
|
"folke/noice.nvim",
|
|
opts = {
|
|
routes = {
|
|
{
|
|
filter = {
|
|
event = 'msg_show',
|
|
any = {
|
|
{ find = '%d+L, %d+B' },
|
|
{ find = '; after #%d+' },
|
|
{ find = '; before #%d+' },
|
|
{ find = '%d fewer lines' },
|
|
{ find = '%d more lines' },
|
|
},
|
|
},
|
|
opts = { skip = true },
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|