From 5b4d38efc8655e0cba28bbcf66743c8dc132573a Mon Sep 17 00:00:00 2001 From: Erik Alfredsson Date: Fri, 17 Jan 2025 19:25:34 +0100 Subject: [PATCH] Update examples --- lua/plugins/example.lua | 27 +++++++-------------------- 1 file changed, 7 insertions(+), 20 deletions(-) diff --git a/lua/plugins/example.lua b/lua/plugins/example.lua index 17f53d6..2992c4d 100644 --- a/lua/plugins/example.lua +++ b/lua/plugins/example.lua @@ -40,27 +40,14 @@ return { end, }, - -- change some telescope options and a keymap to browse plugin files + -- change fzf-lua config to add icon support { - "nvim-telescope/telescope.nvim", - keys = { - -- add a keymap to browse plugin files - -- stylua: ignore - { - "fp", - function() require("telescope.builtin").find_files({ cwd = require("lazy.core.config").options.root }) end, - desc = "Find Plugin File", - }, - }, - -- change some options - opts = { - defaults = { - layout_strategy = "horizontal", - layout_config = { prompt_position = "top" }, - sorting_strategy = "ascending", - winblend = 0, - }, - }, + "ibhagwan/fzf-lua", + -- optional for icon support + dependencies = { "nvim-tree/nvim-web-devicons" }, + -- or if using mini.icons/mini.nvim + -- dependencies = { "echasnovski/mini.icons" }, + opts = {}, }, -- add pyright to lspconfig