diff options
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" }, }, }) |