mirror of
https://github.com/ivuorinen/dotfiles.git
synced 2026-01-26 11:14:08 +00:00
85 lines
2.2 KiB
Lua
85 lines
2.2 KiB
Lua
return {
|
|
-- A collection of small QoL plugins for Neovim
|
|
-- https://github.com/folke/snacks.nvim
|
|
{
|
|
'folke/snacks.nvim',
|
|
priority = 1000,
|
|
lazy = false,
|
|
opts = {
|
|
bigfile = { enabled = true },
|
|
gitbrowse = { enabled = true },
|
|
notifier = {
|
|
enabled = true,
|
|
timeout = 3000,
|
|
},
|
|
notify = { enabled = true },
|
|
quickfile = { enabled = true },
|
|
statuscolumn = {
|
|
enabled = true,
|
|
left = { 'mark', 'sign' }, -- priority of signs on the left (high to low)
|
|
right = { 'fold', 'git' }, -- priority of signs on the right (high to low)
|
|
folds = {
|
|
open = true, -- show open fold icons
|
|
git_hl = false, -- use Git Signs hl for fold icons
|
|
},
|
|
git = {
|
|
-- patterns to match Git signs
|
|
patterns = { 'GitSign', 'MiniDiffSign' },
|
|
},
|
|
refresh = 50, -- refresh at most every 50ms
|
|
},
|
|
words = { enabled = true },
|
|
styles = {
|
|
notification = {
|
|
wo = { wrap = true }, -- Wrap notifications
|
|
},
|
|
},
|
|
},
|
|
},
|
|
-- A pretty diagnostics, references, telescope results,
|
|
-- quickfix and location list to help you solve all the
|
|
-- trouble your code is causing.
|
|
-- https://github.com/folke/trouble.nvim
|
|
{
|
|
'folke/trouble.nvim',
|
|
lazy = false,
|
|
cmd = 'Trouble',
|
|
dependencies = { 'nvim-tree/nvim-web-devicons' },
|
|
opts = {
|
|
auto_preview = true,
|
|
auto_fold = true,
|
|
auto_close = true,
|
|
use_lsp_diagnostic_signs = true,
|
|
},
|
|
},
|
|
|
|
-- Navigate your code with search labels, enhanced
|
|
-- character motions and Treesitter integration
|
|
-- https://github.com/folke/flash.nvim
|
|
{
|
|
'folke/flash.nvim',
|
|
event = 'VeryLazy',
|
|
opts = {},
|
|
keys = {
|
|
{
|
|
'zk',
|
|
mode = { 'n', 'x', 'o' },
|
|
function() require('flash').jump() end,
|
|
desc = 'Flash',
|
|
},
|
|
{
|
|
'Zk',
|
|
mode = { 'n', 'x', 'o' },
|
|
function() require('flash').treesitter() end,
|
|
desc = 'Flash Treesitter',
|
|
},
|
|
{
|
|
'<m-s>',
|
|
mode = { 'c' },
|
|
function() require('flash').toggle() end,
|
|
desc = 'Toggle Flash Search',
|
|
},
|
|
},
|
|
},
|
|
}
|