From 3b4f3e551f21fe271bb0216b5854d85d4611d391 Mon Sep 17 00:00:00 2001 From: Richard Hao Date: Thu, 19 Dec 2024 11:50:14 +0800 Subject: [PATCH] feat: upgrade lazyvim --- config/nvim/lazy-lock.json | 51 ++-- config/nvim/lazyvim.json | 2 +- config/nvim/lua/config/options.lua | 6 +- config/nvim/lua/plugins/telescope.lua | 351 +++++++++++++------------- 4 files changed, 202 insertions(+), 208 deletions(-) diff --git a/config/nvim/lazy-lock.json b/config/nvim/lazy-lock.json index 879cfd6..bc286f7 100644 --- a/config/nvim/lazy-lock.json +++ b/config/nvim/lazy-lock.json @@ -1,67 +1,60 @@ { - "CopilotChat.nvim": { "branch": "main", "commit": "db95d18a4f645ec6b745ef9db91adf4665824f22" }, - "LazyVim": { "branch": "main", "commit": "3c605f547c594b509d83f8677bb7609c005edea5" }, + "CopilotChat.nvim": { "branch": "main", "commit": "2ebe591cff06018e265263e71e1dbc4c5aa8281e" }, + "LazyVim": { "branch": "main", "commit": "447e260a62ffd50b0113c20db0e63108baf44b44" }, "LuaSnip": { "branch": "master", "commit": "33b06d72d220aa56a7ce80a0dd6f06c70cd82b9d" }, - "SchemaStore.nvim": { "branch": "main", "commit": "a6de78738d69bf64931e7757e766bd5f511f01f5" }, + "SchemaStore.nvim": { "branch": "main", "commit": "bb03860b59f17dfada46d6d9563c48b7b12fecaf" }, "SmoothCursor.nvim": { "branch": "main", "commit": "12518b284e1e3f7c6c703b346815968e1620bee2" }, "barbecue": { "branch": "main", "commit": "3e31404f0b93a2c30d151abf0648650ac811c664" }, - "blink.cmp": { "branch": "main", "commit": "9fa3fe2d37975c6b5a8b9539ddce97d6d20357d7" }, + "blink.cmp": { "branch": "main", "commit": "ae5a4ce8f7e519e49de7ae6fcadd74547f820a52" }, "committia.vim": { "branch": "master", "commit": "c8c0f255e8090ed90dd9d5dd2e8672994f8e3671" }, - "conform.nvim": { "branch": "master", "commit": "e76afe8f7976071fae308e31bf426f557a8ef339" }, - "copilot.lua": { "branch": "master", "commit": "c810500b69cb8bcea58f2be635cb1340011714b5" }, - "dressing.nvim": { "branch": "master", "commit": "fc78a3ca96f4db9f8893bb7e2fd9823e0780451b" }, + "conform.nvim": { "branch": "master", "commit": "f4e8837878fc5712d053ba3091a73d27d96a09e2" }, + "copilot.lua": { "branch": "master", "commit": "d3783b9283a7c35940ed8d71549030d5f5f9f980" }, "flash.nvim": { "branch": "main", "commit": "34c7be146a91fec3555c33fe89c7d643f6ef5cf1" }, "friendly-snippets": { "branch": "main", "commit": "efff286dd74c22f731cdec26a70b46e5b203c619" }, + "fzf-lua": { "branch": "main", "commit": "cd9ab4ed3f44d062e511aa9de41ccf815f0ec962" }, "gitsigns.nvim": { "branch": "main", "commit": "5f808b5e4fef30bd8aca1b803b4e555da07fc412" }, "glow.nvim": { "branch": "main", "commit": "238070a686c1da3bccccf1079700eb4b5e19aea4" }, "go.nvim": { "branch": "master", "commit": "c6d5ca26377d01c4de1f7bff1cd62c8b43baa6bc" }, - "grug-far.nvim": { "branch": "main", "commit": "938ba023eb5cb462436c8c43fa4d9859242b7ba3" }, + "grug-far.nvim": { "branch": "main", "commit": "11d0fbd6fff6f4e394af95319deeaab4ef88ce97" }, "guihua.lua": { "branch": "master", "commit": "d783191eaa75215beae0c80319fcce5e6b3beeda" }, "harpoon": { "branch": "harpoon2", "commit": "a84ab829eaf3678b586609888ef52f7779102263" }, "hbac.nvim": { "branch": "main", "commit": "2c85485ea28e5e3754650829e0bca612960e1b73" }, - "lazy.nvim": { "branch": "main", "commit": "014d1d6d78df4e58f962158e6e00261d8632612c" }, + "lazy.nvim": { "branch": "main", "commit": "7e6c863bc7563efbdd757a310d17ebc95166cef3" }, "lazydev.nvim": { "branch": "main", "commit": "f59bd14a852ca43db38e3662395354cb2a9b13e0" }, "lualine.nvim": { "branch": "master", "commit": "2a5bae925481f999263d6f5ed8361baef8df4f83" }, "mason-lspconfig.nvim": { "branch": "main", "commit": "8e46de9241d3997927af12196bd8faa0ed08c29a" }, "mason.nvim": { "branch": "main", "commit": "e2f7f9044ec30067bc11800a9e266664b88cda22" }, "mini.ai": { "branch": "main", "commit": "ebb04799794a7f94628153991e6334c3304961b8" }, - "mini.icons": { "branch": "main", "commit": "54686be7d58807906cb2c8c2216e0bf9c044f19a" }, + "mini.icons": { "branch": "main", "commit": "44c0160526f7ae17ca8e8eab9ab235d047fcf7a6" }, "mini.pairs": { "branch": "main", "commit": "7e834c5937d95364cc1740e20d673afe2d034cdb" }, "mini.surround": { "branch": "main", "commit": "aa5e245829dd12d8ff0c96ef11da28681d6049aa" }, - "no-neck-pain.nvim": { "branch": "main", "commit": "2a786bf7130cce20449885fb799f3c7f4ce93595" }, - "noice.nvim": { "branch": "main", "commit": "7b1960c48078a8b2fb44a89db82f4fa637b2d7c8" }, - "nui.nvim": { "branch": "main", "commit": "b1b9b75a2d8041e1c2234f7448c61f8468a4258d" }, - "nvim-cmp": { "branch": "main", "commit": "ed31156aa2cc14e3bc066c59357cc91536a2bc01" }, + "no-neck-pain.nvim": { "branch": "main", "commit": "5d91f31a2d583a367df97a4654be028fbe13f2d2" }, + "noice.nvim": { "branch": "main", "commit": "eaed6cc9c06aa2013b5255349e4f26a6b17ab70f" }, + "nui.nvim": { "branch": "main", "commit": "53e907ffe5eedebdca1cd503b00aa8692068ca46" }, "nvim-jdtls": { "branch": "master", "commit": "ece818f909c6414cbad4e1fb240d87e003e10fda" }, "nvim-lint": { "branch": "master", "commit": "6b46370d02cd001509a765591a3ffc481b538794" }, - "nvim-lspconfig": { "branch": "master", "commit": "5a812abc65d529ea7673059a348814c21d7f87ff" }, + "nvim-lspconfig": { "branch": "master", "commit": "9f2c279cf9abe584f03bfeb37c6658d68e3ff49d" }, "nvim-navic": { "branch": "master", "commit": "8649f694d3e76ee10c19255dece6411c29206a54" }, - "nvim-treesitter": { "branch": "master", "commit": "0c26a5c4bc407fdbca545ab25cf6084fd069444b" }, + "nvim-treesitter": { "branch": "master", "commit": "102bc74e093ef54aab57a368db15befeb9ba9d58" }, "nvim-treesitter-textobjects": { "branch": "master", "commit": "ad8f0a472148c3e0ae9851e26a722ee4e29b1595" }, "nvim-ts-autotag": { "branch": "main", "commit": "1cca23c9da708047922d3895a71032bc0449c52d" }, - "nvim-ufo": { "branch": "main", "commit": "95cbe2e99901135704aabdc8732d722cf68b12c9" }, - "nvim-web-devicons": { "branch": "master", "commit": "87c34abe5d1dc7c1c0a95aaaf888059c614c68ac" }, + "nvim-ufo": { "branch": "main", "commit": "270ca542dae992ffe40274718c63645217ebc8bf" }, + "nvim-web-devicons": { "branch": "master", "commit": "0eb18da56e2ba6ba24de7130a12bcc4e31ad11cb" }, "outline.nvim": { "branch": "main", "commit": "6c44527837ff7ac1cd054dc365a721e881020a2e" }, "persistence.nvim": { "branch": "main", "commit": "f6aad7dde7fcf54148ccfc5f622c6d5badd0cc3d" }, "plenary.nvim": { "branch": "master", "commit": "2d9b06177a975543726ce5c73fca176cedbffe9d" }, "promise-async": { "branch": "main", "commit": "119e8961014c9bfaf1487bf3c2a393d254f337e2" }, - "rose-pine": { "branch": "main", "commit": "07a887a7bef4aacea8c7caebaf8cbf808cdc7a8e" }, + "rose-pine": { "branch": "main", "commit": "91548dca53b36dbb9d36c10f114385f759731be1" }, "rustaceanvim": { "branch": "master", "commit": "047f9c9d8cd2861745eb9de6c1570ee0875aa795" }, - "smart-open.nvim": { "branch": "0.2.x", "commit": "7770b01ce4d551c143d7ec8589879320796621b9" }, - "snacks.nvim": { "branch": "main", "commit": "fc71e36c90f44e0e6180ac6c5f035817709569d8" }, - "sqlite.lua": { "branch": "master", "commit": "d0ffd703b56d090d213b497ed4eb840495f14a11" }, - "telescope-fzf-native.nvim": { "branch": "main", "commit": "cf48d4dfce44e0b9a2e19a008d6ec6ea6f01a83b" }, - "telescope-fzy-native.nvim": { "branch": "master", "commit": "282f069504515eec762ab6d6c89903377252bf5b" }, - "telescope-undo.nvim": { "branch": "main", "commit": "2971cc9f193ec09e0c5de3563f99cbea16b63f10" }, - "telescope.nvim": { "branch": "master", "commit": "2eca9ba22002184ac05eddbe47a7fe2d5a384dfc" }, + "snacks.nvim": { "branch": "main", "commit": "d2fafff5f373ab35b147e7c05a7ef29c851df8f3" }, "todo-comments.nvim": { "branch": "main", "commit": "ae0a2afb47cf7395dc400e5dc4e05274bf4fb9e0" }, "trouble.nvim": { "branch": "main", "commit": "46cf952fc115f4c2b98d4e208ed1e2dce08c9bf6" }, - "ts-comments.nvim": { "branch": "main", "commit": "2002692ad1d3f6518d016550c20c2a890f0cbf0e" }, + "ts-comments.nvim": { "branch": "main", "commit": "872dcfa0418f4a33b7437fb4d9f4e89f2f000d74" }, "venv-selector.nvim": { "branch": "regexp", "commit": "e82594274bf7b54387f9a2abe65f74909ac66e97" }, "vim-rails": { "branch": "master", "commit": "d3954dfe3946c9330dc91b4fbf79ccacb2c626c0" }, "vim-tmux-navigator": { "branch": "master", "commit": "424b5caa154bff34dc258ee53cec5a8e36cf7ea8" }, "vim-wakatime": { "branch": "master", "commit": "cf51327a9e08935569614d1cb24e779ee9f45519" }, - "which-key.nvim": { "branch": "main", "commit": "9b365a6428a9633e3eeb34dbef1b791511c54f70" }, + "which-key.nvim": { "branch": "main", "commit": "8ab96b38a2530eacba5be717f52e04601eb59326" }, "yanky.nvim": { "branch": "main", "commit": "f9b905994cccf3c55f41af3a0a1f4c76c844e411" }, - "yazi.nvim": { "branch": "main", "commit": "a084a008c1479b9e50259995fe0192714d641c44" } + "yazi.nvim": { "branch": "main", "commit": "2d6e9b9e2bda2294a978f60367598b75ea5b59d0" } } diff --git a/config/nvim/lazyvim.json b/config/nvim/lazyvim.json index 7fd2a72..82e173e 100644 --- a/config/nvim/lazyvim.json +++ b/config/nvim/lazyvim.json @@ -3,7 +3,7 @@ ], "news": { - "NEWS.md": "7429" + "NEWS.md": "10960" }, "version": 7 } \ No newline at end of file diff --git a/config/nvim/lua/config/options.lua b/config/nvim/lua/config/options.lua index a633fcb..1efcf7e 100644 --- a/config/nvim/lua/config/options.lua +++ b/config/nvim/lua/config/options.lua @@ -100,9 +100,9 @@ vim.opt.fillchars:append({ }) -- Add new commands -vim.cmd([[command! -nargs=0 GoToCommand :Telescope commands]]) -vim.cmd([[command! -nargs=0 GoToFile :Telescope smart_open]]) -vim.cmd([[command! -nargs=0 Grep :Telescope live_grep]]) +vim.cmd([[command! -nargs=0 GoToCommand :FzfLua commands]]) +vim.cmd([[command! -nargs=0 GoToFile :FzfLua files]]) +vim.cmd([[command! -nargs=0 Grep :FzfLua grep]]) -- Copy Relative Path vim.api.nvim_create_user_command("CopyRelPath", function() diff --git a/config/nvim/lua/plugins/telescope.lua b/config/nvim/lua/plugins/telescope.lua index c0b638c..615f641 100644 --- a/config/nvim/lua/plugins/telescope.lua +++ b/config/nvim/lua/plugins/telescope.lua @@ -1,175 +1,176 @@ -return { - "nvim-telescope/telescope.nvim", - dependencies = { - "kkharji/sqlite.lua", - "debugloop/telescope-undo.nvim", - { "danielfalk/smart-open.nvim", branch = "0.2.x" }, - { "nvim-telescope/telescope-fzy-native.nvim" }, - }, - config = function(_, opts) - local telescope = require("telescope") - telescope.setup(opts) - telescope.load_extension("undo") - telescope.load_extension("smart_open") - end, - - opts = { - defaults = { - -- file_ignore_patterns = { ".git/", "node_modules" }, - -- layout_config = { - -- height = 0.90, - -- width = 0.90, - -- preview_cutoff = 0, - -- horizontal = { preview_width = 0.60 }, - -- vertical = { width = 0.55, height = 0.9, preview_cutoff = 0 }, - -- prompt_position = "top", - -- }, - -- path_display = { "smart" }, - -- prompt_position = "top", - selection_caret = " ", - vimgrep_arguments = { - "rg", - "--color=never", - "--no-heading", - "--hidden", - "--with-filename", - "--line-number", - "--column", - "--smart-case", - "--trim", -- add this value - }, - mappings = { - i = { - [""] = require("telescope.actions").toggle_selection + require("telescope.actions").move_selection_next, - [""] = require("telescope.actions").toggle_selection - + require("telescope.actions").move_selection_previous, - [""] = require("telescope.actions").move_selection_next, - [""] = require("telescope.actions").move_selection_previous, - }, - }, - }, - pickers = { - ["extension_name#extension_method"] = { - disable = false, - use_cwd = false, - sorting = "recent", - }, - buffers = { - prompt_prefix = "󰸩 ", - }, - commands = { - prompt_prefix = " ", - layout_config = { - height = 0.63, - width = 0.78, - }, - }, - command_history = { - prompt_prefix = " ", - layout_config = { - height = 0.63, - width = 0.58, - }, - }, - git_files = { - prompt_prefix = "󰊢 ", - show_untracked = true, - }, - find_files = { - prompt_prefix = " ", - find_command = { "fd", "-H" }, - }, - live_grep = { - prompt_prefix = "󰱽 ", - }, - grep_string = { - prompt_prefix = "󰱽 ", - }, - }, - extensions = { - smart_open = { - show_scores = true, - match_algorithm = "fzy", - open_buffer_indicators = { previous = "👀", others = "🙈" }, - filename_first = false, - }, - }, - }, - keys = function() - return { - { ",", "Telescope buffers show_all_buffers=true", desc = "Switch Buffer" }, - { "/", LazyVim.pick("live_grep"), desc = "Grep (root dir)" }, - { ":", "Telescope command_history", desc = "Command History" }, - { "", LazyVim.pick("files"), desc = "Find Files (root dir)" }, - { "*", "Telescope grep_string", { silent = true, desc = "Grep Word Under Cursor" } }, - -- find - { "fb", "Telescope buffers", desc = "Buffers" }, - { "ff", LazyVim.pick("files"), desc = "Find Files (root dir)" }, - { "fF", LazyVim.pick("files", { cwd = false }), desc = "Find Files (cwd)" }, - { "fr", "Telescope oldfiles", desc = "Recent" }, - { "fR", LazyVim.pick("oldfiles", { cwd = vim.loop.cwd() }), desc = "Recent (cwd)" }, - -- git - { "gc", "Telescope git_commits", desc = "commits" }, - { "gs", "Telescope git_status", desc = "status" }, - -- search - { 's"', "Telescope registers", desc = "Registers" }, - { "sa", "Telescope autocommands", desc = "Auto Commands" }, - { "sb", "Telescope current_buffer_fuzzy_find", desc = "Buffer" }, - { "sc", "Telescope command_history", desc = "Command History" }, - { "sC", "Telescope commands", desc = "Commands" }, - { "sd", "Telescope diagnostics bufnr=0", desc = "Document diagnostics" }, - { "sD", "Telescope diagnostics", desc = "Workspace diagnostics" }, - { "sg", LazyVim.pick("live_grep"), desc = "Grep (root dir)" }, - { "sG", LazyVim.pick("live_grep", { cwd = false }), desc = "Grep (cwd)" }, - { "sh", "Telescope help_tags", desc = "Help Pages" }, - { "sH", "Telescope highlights", desc = "Search Highlight Groups" }, - { "sk", "Telescope keymaps", desc = "Key Maps" }, - { "sM", "Telescope man_pages", desc = "Man Pages" }, - { "sm", "Telescope marks", desc = "Jump to Mark" }, - { "so", "Telescope vim_options", desc = "Options" }, - { "sR", "Telescope resume", desc = "Resume" }, - { "sw", LazyVim.pick("grep_string", { word_match = "-w" }), desc = "Word (root dir)" }, - { "sW", LazyVim.pick("grep_string", { cwd = false, word_match = "-w" }), desc = "Word (cwd)" }, - { "sw", LazyVim.pick("grep_string"), mode = "v", desc = "Selection (root dir)" }, - { "sW", LazyVim.pick("grep_string", { cwd = false }), mode = "v", desc = "Selection (cwd)" }, - { "uC", LazyVim.pick("colorscheme", { enable_preview = true }), desc = "Colorscheme with preview" }, - { "uu", "Telescope undo", desc = "Uno Tree" }, - { - "ss", - LazyVim.pick("lsp_document_symbols", { - symbols = { - "Class", - "Function", - "Method", - "Constructor", - "Interface", - "Module", - "Struct", - "Trait", - "Field", - "Property", - }, - }), - desc = "Goto Symbol", - }, - { - "sS", - LazyVim.pick("lsp_dynamic_workspace_symbols", { - symbols = { - "Class", - "Function", - "Method", - "Constructor", - "Interface", - "Module", - "Struct", - "Trait", - "Field", - "Property", - }, - }), - desc = "Goto Symbol (Workspace)", - }, - } - end, -} +return {} +-- return { +-- "nvim-telescope/telescope.nvim", +-- dependencies = { +-- "kkharji/sqlite.lua", +-- "debugloop/telescope-undo.nvim", +-- { "danielfalk/smart-open.nvim", branch = "0.2.x" }, +-- { "nvim-telescope/telescope-fzy-native.nvim" }, +-- }, +-- config = function(_, opts) +-- local telescope = require("telescope") +-- telescope.setup(opts) +-- telescope.load_extension("undo") +-- telescope.load_extension("smart_open") +-- end, +-- +-- opts = { +-- defaults = { +-- -- file_ignore_patterns = { ".git/", "node_modules" }, +-- -- layout_config = { +-- -- height = 0.90, +-- -- width = 0.90, +-- -- preview_cutoff = 0, +-- -- horizontal = { preview_width = 0.60 }, +-- -- vertical = { width = 0.55, height = 0.9, preview_cutoff = 0 }, +-- -- prompt_position = "top", +-- -- }, +-- -- path_display = { "smart" }, +-- -- prompt_position = "top", +-- selection_caret = " ", +-- vimgrep_arguments = { +-- "rg", +-- "--color=never", +-- "--no-heading", +-- "--hidden", +-- "--with-filename", +-- "--line-number", +-- "--column", +-- "--smart-case", +-- "--trim", -- add this value +-- }, +-- mappings = { +-- i = { +-- [""] = require("telescope.actions").toggle_selection + require("telescope.actions").move_selection_next, +-- [""] = require("telescope.actions").toggle_selection +-- + require("telescope.actions").move_selection_previous, +-- [""] = require("telescope.actions").move_selection_next, +-- [""] = require("telescope.actions").move_selection_previous, +-- }, +-- }, +-- }, +-- pickers = { +-- ["extension_name#extension_method"] = { +-- disable = false, +-- use_cwd = false, +-- sorting = "recent", +-- }, +-- buffers = { +-- prompt_prefix = "󰸩 ", +-- }, +-- commands = { +-- prompt_prefix = " ", +-- layout_config = { +-- height = 0.63, +-- width = 0.78, +-- }, +-- }, +-- command_history = { +-- prompt_prefix = " ", +-- layout_config = { +-- height = 0.63, +-- width = 0.58, +-- }, +-- }, +-- git_files = { +-- prompt_prefix = "󰊢 ", +-- show_untracked = true, +-- }, +-- find_files = { +-- prompt_prefix = " ", +-- find_command = { "fd", "-H" }, +-- }, +-- live_grep = { +-- prompt_prefix = "󰱽 ", +-- }, +-- grep_string = { +-- prompt_prefix = "󰱽 ", +-- }, +-- }, +-- extensions = { +-- smart_open = { +-- show_scores = true, +-- match_algorithm = "fzy", +-- open_buffer_indicators = { previous = "👀", others = "🙈" }, +-- filename_first = false, +-- }, +-- }, +-- }, +-- keys = function() +-- return { +-- { ",", "Telescope buffers show_all_buffers=true", desc = "Switch Buffer" }, +-- { "/", LazyVim.pick("live_grep"), desc = "Grep (root dir)" }, +-- { ":", "Telescope command_history", desc = "Command History" }, +-- { "", LazyVim.pick("files"), desc = "Find Files (root dir)" }, +-- { "*", "Telescope grep_string", { silent = true, desc = "Grep Word Under Cursor" } }, +-- -- find +-- { "fb", "Telescope buffers", desc = "Buffers" }, +-- { "ff", LazyVim.pick("files"), desc = "Find Files (root dir)" }, +-- { "fF", LazyVim.pick("files", { cwd = false }), desc = "Find Files (cwd)" }, +-- { "fr", "Telescope oldfiles", desc = "Recent" }, +-- { "fR", LazyVim.pick("oldfiles", { cwd = vim.loop.cwd() }), desc = "Recent (cwd)" }, +-- -- git +-- { "gc", "Telescope git_commits", desc = "commits" }, +-- { "gs", "Telescope git_status", desc = "status" }, +-- -- search +-- { 's"', "Telescope registers", desc = "Registers" }, +-- { "sa", "Telescope autocommands", desc = "Auto Commands" }, +-- { "sb", "Telescope current_buffer_fuzzy_find", desc = "Buffer" }, +-- { "sc", "Telescope command_history", desc = "Command History" }, +-- { "sC", "Telescope commands", desc = "Commands" }, +-- { "sd", "Telescope diagnostics bufnr=0", desc = "Document diagnostics" }, +-- { "sD", "Telescope diagnostics", desc = "Workspace diagnostics" }, +-- { "sg", LazyVim.pick("live_grep"), desc = "Grep (root dir)" }, +-- { "sG", LazyVim.pick("live_grep", { cwd = false }), desc = "Grep (cwd)" }, +-- { "sh", "Telescope help_tags", desc = "Help Pages" }, +-- { "sH", "Telescope highlights", desc = "Search Highlight Groups" }, +-- { "sk", "Telescope keymaps", desc = "Key Maps" }, +-- { "sM", "Telescope man_pages", desc = "Man Pages" }, +-- { "sm", "Telescope marks", desc = "Jump to Mark" }, +-- { "so", "Telescope vim_options", desc = "Options" }, +-- { "sR", "Telescope resume", desc = "Resume" }, +-- { "sw", LazyVim.pick("grep_string", { word_match = "-w" }), desc = "Word (root dir)" }, +-- { "sW", LazyVim.pick("grep_string", { cwd = false, word_match = "-w" }), desc = "Word (cwd)" }, +-- { "sw", LazyVim.pick("grep_string"), mode = "v", desc = "Selection (root dir)" }, +-- { "sW", LazyVim.pick("grep_string", { cwd = false }), mode = "v", desc = "Selection (cwd)" }, +-- { "uC", LazyVim.pick("colorscheme", { enable_preview = true }), desc = "Colorscheme with preview" }, +-- { "uu", "Telescope undo", desc = "Uno Tree" }, +-- { +-- "ss", +-- LazyVim.pick("lsp_document_symbols", { +-- symbols = { +-- "Class", +-- "Function", +-- "Method", +-- "Constructor", +-- "Interface", +-- "Module", +-- "Struct", +-- "Trait", +-- "Field", +-- "Property", +-- }, +-- }), +-- desc = "Goto Symbol", +-- }, +-- { +-- "sS", +-- LazyVim.pick("lsp_dynamic_workspace_symbols", { +-- symbols = { +-- "Class", +-- "Function", +-- "Method", +-- "Constructor", +-- "Interface", +-- "Module", +-- "Struct", +-- "Trait", +-- "Field", +-- "Property", +-- }, +-- }), +-- desc = "Goto Symbol (Workspace)", +-- }, +-- } +-- end, +-- }