From 7d272677009dcb519d4138fa2307685d6e9b188c Mon Sep 17 00:00:00 2001 From: Drew Galbraith Date: Fri, 27 Dec 2024 19:57:33 -0800 Subject: [PATCH] Don't use telescope (replaced by fzf-lua). --- lazy-lock.json | 2 -- lua/plugins/telescope.lua | 42 --------------------------------------- 2 files changed, 44 deletions(-) delete mode 100644 lua/plugins/telescope.lua diff --git a/lazy-lock.json b/lazy-lock.json index fdae9d8..3162287 100644 --- a/lazy-lock.json +++ b/lazy-lock.json @@ -40,8 +40,6 @@ "render-markdown.nvim": { "branch": "main", "commit": "ba6253d9673daf0cf394b87b2c2ecb7630944c7d" }, "rustaceanvim": { "branch": "master", "commit": "6db1fe9e3f005b2e0921c7302d2c195eeb90a451" }, "snacks.nvim": { "branch": "main", "commit": "98df370703b3c47a297988f3e55ce99628639590" }, - "telescope-file-browser.nvim": { "branch": "master", "commit": "626998e5c1b71c130d8bc6cf7abb6709b98287bb" }, - "telescope.nvim": { "branch": "master", "commit": "2eca9ba22002184ac05eddbe47a7fe2d5a384dfc" }, "todo-comments.nvim": { "branch": "main", "commit": "ae0a2afb47cf7395dc400e5dc4e05274bf4fb9e0" }, "tokyonight.nvim": { "branch": "main", "commit": "45d22cf0e1b93476d3b6d362d720412b3d34465c" }, "trouble.nvim": { "branch": "main", "commit": "46cf952fc115f4c2b98d4e208ed1e2dce08c9bf6" }, diff --git a/lua/plugins/telescope.lua b/lua/plugins/telescope.lua deleted file mode 100644 index 1363760..0000000 --- a/lua/plugins/telescope.lua +++ /dev/null @@ -1,42 +0,0 @@ -return { - { - "nvim-telescope/telescope.nvim", - lazy = false, - priority = 100, - dependencies = { 'nvim-lua/plenary.nvim' }, - config = function() - local actions = require("telescope.actions") - require("telescope").setup { - defaults = { - layout_strategy = 'horizontal', - layout_config = { - prompt_position = 'top', - }, - sorting_strategy = "ascending", - mappings = { - i = { - [""] = actions.move_selection_next, - [""] = actions.move_selection_previous, - } - } - }, - extensions = { - file_browser = { - cwd_to_path = true, - display_stat = false, - grouped = true, - initial_mode = 'normal', - select_buffer = true, - }, - }, - } - - require("telescope").load_extension "file_browser" - end - }, - { - 'nvim-telescope/telescope-file-browser.nvim', - lazy = false, - dependencies = { 'nvim-telescope/telescope.nvim', 'nvim-lua/plenary.nvim' }, - }, -}