37 lines
1.0 KiB
Lua
37 lines
1.0 KiB
Lua
return {
|
|
{
|
|
"folke/snacks.nvim",
|
|
priority = 1000,
|
|
lazy = false,
|
|
---@type snacks.Config
|
|
opts = {
|
|
-- your configuration comes here
|
|
-- or leave it empty to use the default settings
|
|
-- refer to the configuration section below
|
|
explorer = {
|
|
enabled = true,
|
|
replace_netrw = true,
|
|
},
|
|
},
|
|
init = function ()
|
|
local snacks = require('snacks')
|
|
vim.keymap.set('n', '<leader>f', snacks.explorer.open, { noremap = true, silent = true })
|
|
end
|
|
},
|
|
{
|
|
'romgrk/barbar.nvim',
|
|
dependencies = {
|
|
'lewis6991/gitsigns.nvim', -- OPTIONAL: for git status
|
|
'nvim-tree/nvim-web-devicons', -- OPTIONAL: for file icons
|
|
},
|
|
init = function() vim.g.barbar_auto_setup = false end,
|
|
opts = {
|
|
animation = true,
|
|
sidebar_filetypes = {
|
|
['snacks_picker_list'] = true
|
|
}
|
|
},
|
|
version = '^1.0.0', -- optional: only update when a new 1.x version is released
|
|
},
|
|
}
|