diff options
author | joe <rbo@gmx.us> | 2025-08-26 15:28:18 +0200 |
---|---|---|
committer | joe <rbo@gmx.us> | 2025-08-26 15:28:18 +0200 |
commit | 10ce63c4ed44a569aa48bd73965769686b2c7818 (patch) | |
tree | 983f5221950ff3037fc632e5bbef4f028335a7f1 /.config/nvim/lua/config/lazy.lua | |
parent | up (diff) | |
download | dotfiles-bsd-10ce63c4ed44a569aa48bd73965769686b2c7818.tar.gz dotfiles-bsd-10ce63c4ed44a569aa48bd73965769686b2c7818.tar.bz2 dotfiles-bsd-10ce63c4ed44a569aa48bd73965769686b2c7818.tar.xz dotfiles-bsd-10ce63c4ed44a569aa48bd73965769686b2c7818.tar.zst dotfiles-bsd-10ce63c4ed44a569aa48bd73965769686b2c7818.zip |
up
Diffstat (limited to '.config/nvim/lua/config/lazy.lua')
-rw-r--r-- | .config/nvim/lua/config/lazy.lua | 42 |
1 files changed, 32 insertions, 10 deletions
diff --git a/.config/nvim/lua/config/lazy.lua b/.config/nvim/lua/config/lazy.lua index 64d930a..fefe2af 100644 --- a/.config/nvim/lua/config/lazy.lua +++ b/.config/nvim/lua/config/lazy.lua @@ -33,17 +33,15 @@ require('lazy').setup({ }, { 'numToStr/Comment.nvim', - requires = { {'JoosepAlviste/nvim-ts-context-commentstring'} }, - config = function() - require('Comment').setup() - end + dependencies = { 'JoosepAlviste/nvim-ts-context-commentstring' }, + config = function() require('Comment').setup {} end }, { 'mbbill/undotree' }, { 'chrisbra/csv.vim' }, { 'ThePrimeagen/harpoon', branch = 'harpoon2', - requires = { {'nvim-lua/plenary.nvim'} } + dependencies = { 'nvim-lua/plenary.nvim' } }, { 'lukas-reineke/indent-blankline.nvim', @@ -60,7 +58,7 @@ require('lazy').setup({ }, { 'folke/todo-comments.nvim', - requires = { {'nvim-lua/plenary.nvim'} }, + dependencies = { 'nvim-lua/plenary.nvim' }, config = function() require('todo-comments.config').setup{ highlight = { @@ -93,13 +91,11 @@ require('lazy').setup({ 'kylechui/nvim-surround', version = "^3.0.0", event = "VeryLazy", - config = function() - require('nvim-surround').setup() - end + config = function() require('nvim-surround').setup {} end }, { 'ggandor/leap.nvim', - requires = {'tpope/vim-repeat'}, + dependencies = { 'tpope/vim-repeat' }, config = function() require('leap').setup({}) vim.keymap.set({'n', 'x', 'o'}, '<leader>s', '<Plug>(leap-forward-to)') @@ -108,6 +104,32 @@ require('lazy').setup({ vim.keymap.set({'n', 'x', 'o'}, '<C-S-s>', '<Plug>(leap-backward-till)') end }, + { + 'ibhagwan/fzf-lua', + dependencies = { 'nvim-tree/nvim-web-devicons' }, + opts = { + defaults = { + file_icons = false, + no_header = true, + no_header_i = true, + }, + winopts = { + width = 1, + height = 0.45, + row = 1, + border = 'none', + preview = { + border = 'none', + title = false + }, + previewers = { + builtin = { + syntax_limit_b = 1024 * 100, + }, + } + } + } + }, { import = "plugins" }, }, }) |