mirror of
https://github.com/elkowar/dots-of-war.git
synced 2024-12-27 14:42:23 +00:00
20 lines
757 B
Fennel
20 lines
757 B
Fennel
(local {: autoload : utils} (require :dots.prelude))
|
|
(local telescope (autoload :telescope))
|
|
(local actions (autoload :telescope.actions))
|
|
|
|
(fn setup []
|
|
(telescope.setup
|
|
{:defaults {:mappings {:i {:<esc> actions.close}}
|
|
:file_ignore_patterns ["Cargo.lock" ".*.snap" "docs/theme/.*" "node%_modules/.*" "target/.*"]}
|
|
:extensions {:ui-select [((. (require "telescope.themes") :get_dropdown))]}})
|
|
|
|
(telescope.load_extension "dap")
|
|
|
|
(utils.keymap :n :<C-p> ":Telescope find_files<CR>"))
|
|
|
|
[(utils.plugin :nvim-telescope/telescope.nvim
|
|
{:config setup
|
|
:cmd ["Telescope"]
|
|
:dependencies [:nvim-lua/popup.nvim
|
|
:nvim-lua/plenary.nvim]})]
|
|
|