2024-03-28 18:34:49 +00:00
|
|
|
local os = vim.loop.os_uname().sysname
|
2024-03-26 11:51:53 +00:00
|
|
|
return {
|
2024-03-26 20:07:08 +00:00
|
|
|
{
|
|
|
|
"nvim-telescope/telescope.nvim",
|
|
|
|
dependencies = {
|
2024-03-28 18:34:49 +00:00
|
|
|
{'nvim-lua/plenary.nvim'},
|
|
|
|
{
|
|
|
|
'nvim-telescope/telescope-fzf-native.nvim',
|
2024-07-15 19:58:28 +00:00
|
|
|
build ="cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=Release && cmake --build build --config Release && cmake --install build --prefix build",
|
2024-03-28 18:34:49 +00:00
|
|
|
}
|
2024-03-26 20:07:08 +00:00
|
|
|
},
|
|
|
|
config = function()
|
2024-03-28 18:34:49 +00:00
|
|
|
require('telescope').setup({})
|
|
|
|
require('telescope').load_extension('fzf')
|
2024-03-26 20:07:08 +00:00
|
|
|
local builtin = require('telescope.builtin')
|
2024-03-26 11:51:53 +00:00
|
|
|
|
2024-03-26 20:07:08 +00:00
|
|
|
vim.keymap.set('n', '<leader>ff', builtin.find_files, {})
|
|
|
|
vim.keymap.set('n', '<leader>fs', builtin.git_files, {})
|
|
|
|
end
|
|
|
|
}
|
2024-03-26 11:51:53 +00:00
|
|
|
}
|