comparison .chezmoitemplates/init.lua @ 744:3ebd380b6ce1

feat: add fzf-lua
author zegervdv <zegervdv@me.com>
date Fri, 06 Jan 2023 06:40:51 +0000
parents aef7dab2b0e5
children cc66c8f2d548
comparison
equal deleted inserted replaced
743:990d9b76a6e5 744:3ebd380b6ce1
547 ) 547 )
548 end, 548 end,
549 } 549 }
550 550
551 use { 551 use {
552 'nvim-telescope/telescope-ui-select.nvim', 552 'ibhagwan/fzf-lua',
553 requires = { 'nvim-telescope/telescope.nvim' }, 553 config = function()
554 config = function() 554 local fzf = require 'fzf-lua'
555 require('telescope').setup { 555 fzf.setup {
556 defaults = { 556 winopts = {
557 border = {}, 557 border = 'single',
558 borderchars = { ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ' }, 558 },
559 winblend = 0, 559 }
560 }, 560 fzf.register_ui_select()
561 extensions = {
562 ['ui-select'] = require('telescope.themes').get_dropdown {
563 border = {},
564 borderchars = { ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ' },
565 winblend = 0,
566 },
567 },
568 }
569 require('telescope').load_extension 'ui-select'
570 end, 561 end,
571 } 562 }
572 563
573 use { 'vimjas/vim-python-pep8-indent', ft = { 'python' } } 564 use { 'vimjas/vim-python-pep8-indent', ft = { 'python' } }
574 565