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:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user