X-Git-Url: https://git.r.bdr.sh/rbdr/dotfiles/blobdiff_plain/d2de72a404ea05860ed2f1c0687890f8b1ee4f22..af913f93e5071e9b256c6c2314f141432df08bbd:/config/nvim/lua/plugins.lua?ds=inline diff --git a/config/nvim/lua/plugins.lua b/config/nvim/lua/plugins.lua index 7c5f488..7a34348 100644 --- a/config/nvim/lua/plugins.lua +++ b/config/nvim/lua/plugins.lua @@ -12,7 +12,36 @@ end vim.opt.rtp:prepend(lazypath) require('lazy').setup({ - {'fzf', dir=vim.env.FZF_VIM_PATH}, + { + "ibhagwan/fzf-lua", + config = function() + -- calling `setup` is optional for customization + require("fzf-lua").setup({ + winopts={ + width=1, + height=0.4, + row=1 + }, + fzf_opts={ + ['--layout']='default' + }, + fzf_colors = { + ['fg'] = {'fg', 'Normal'}, + ['bg'] = {'bg', 'Normal'}, + ['hl'] = {'fg', 'Comment'}, + ['fg+'] = {'fg', 'CursorLine'}, + ['bg+'] = {'bg', 'CursorLine'}, + ['hl+'] = {'fg', 'Statement'}, + ['info'] = {'fg', 'PreProc'}, + ['prompt'] = {'fg', 'Conditional'}, + ['pointer'] = {'fg', 'Exception'}, + ['marker'] = {'fg', 'Keyword'}, + ['spinner'] = {'fg', 'Label'}, + ['header'] = {'fg', 'Comment'} + } + }) + end + }, -- Syntaxes 'https://git.sr.ht/~rbdr/api-notation.vim', @@ -36,14 +65,9 @@ require('lazy').setup({ 'rstacruz/vim-closer', 'michaeljsmith/vim-indent-object', - -- Distraction free editing - 'junegunn/goyo.vim', - 'junegunn/limelight.vim', - -- Tools {'neoclide/coc.nvim', branch='release'}, 'vim-scripts/LargeFile', 'tpope/vim-fugitive', - 'milkypostman/vim-togglelist', - 'jremmen/vim-ripgrep', + 'milkypostman/vim-togglelist' })