Implement :BuildDir and :Build commands in Lua

Ported over from and improved for best integration with Neovim ecosystem
https://code.infektor.net/config/vim/src/branch/master/autoload/build.vim
This commit is contained in:
2024-03-08 18:46:58 +00:00
parent 573c548245
commit 0656de97fa
5 changed files with 172 additions and 0 deletions

View File

@@ -4,6 +4,7 @@ return {
'nvim-lua/plenary.nvim',
'nvim-telescope/telescope-fzy-native.nvim',
'nvim-tree/nvim-web-devicons',
'axkirillov/easypick.nvim',
},
config = function()
local telescope = require('telescope')
@@ -21,6 +22,9 @@ return {
['<C-l>'] = 'preview_scrolling_right',
}
},
layout_config = {
height = 0.7,
}
},
})
telescope.load_extension('fzy_native')
@@ -33,5 +37,8 @@ return {
vim.keymap.set('n', '<leader>b', ':Telescope buffers<CR>', opts)
vim.keymap.set('n', '<leader>ht', ':Telescope help_tags<CR>', opts)
require('easypick').setup({
pickers = { },
})
end
}