From 116424f4cf85bed43b30301952cb897089934157 Mon Sep 17 00:00:00 2001 From: Kristofers Solo Date: Mon, 2 Jun 2025 13:17:05 +0300 Subject: [PATCH] Update 2025-06-02 --- lazy-lock.json | 20 ++++---- lua/plugins/colorful-menu.lua | 89 +---------------------------------- 2 files changed, 11 insertions(+), 98 deletions(-) diff --git a/lazy-lock.json b/lazy-lock.json index 4ff5b39..c96a359 100644 --- a/lazy-lock.json +++ b/lazy-lock.json @@ -4,10 +4,10 @@ "LuaSnip": { "branch": "master", "commit": "458560534a73f7f8d7a11a146c801db00b081df0" }, "blink-cmp-git": { "branch": "master", "commit": "e78e9ff3de63f82685e3c5f2eed1ec203222f63b" }, "blink-emoji.nvim": { "branch": "master", "commit": "f22ce8cac02a6ece05368220f1e38bd34fe376f9" }, - "blink-ripgrep.nvim": { "branch": "main", "commit": "a910b62c896eee2d0e74eb48b3ff5eedd211db69" }, + "blink-ripgrep.nvim": { "branch": "main", "commit": "3b146c70869c3f42c623341ad8befe9a073087a6" }, "blink.cmp": { "branch": "main", "commit": "022521a8910a5543b0251b21c9e1a1e989745796" }, "blink.compat": { "branch": "main", "commit": "2ed6d9a28b07fa6f3bface818470605f8896408c" }, - "catppuccin.nvim": { "branch": "main", "commit": "56a9dfd1e05868cf3189369aad87242941396563" }, + "catppuccin.nvim": { "branch": "main", "commit": "a0c769bc7cd04bbbf258b3d5f01e2bdce744108d" }, "ccc.nvim": { "branch": "main", "commit": "9d1a256e006decc574789dfc7d628ca11644d4c2" }, "cellular-automaton.nvim": { "branch": "main", "commit": "1606e9d5d04ff254023c3f3c62842d065708d6d3" }, "cheatsheet.nvim": { "branch": "master", "commit": "8ee4d76b6f902c4017dc28eddd79d925dfc55066" }, @@ -36,7 +36,7 @@ "harpoon": { "branch": "harpoon2", "commit": "ed1f853847ffd04b2b61c314865665e1dadf22c7" }, "http-codes.nvim": { "branch": "main", "commit": "77aea3a73d5f3134089941ebf6d4172af34a4a8d" }, "img-clip.nvim": { "branch": "main", "commit": "08a02e14c8c0d42fa7a92c30a98fd04d6993b35d" }, - "inlay-hint.nvim": { "branch": "main", "commit": "9dce1b25bc60fd9cf06e548c2143ab87517c5cd6" }, + "inlay-hint.nvim": { "branch": "main", "commit": "ee8aa9806d1e160a2bc08b78ae60568fb6d9dbce" }, "inlay-hints.nvim": { "branch": "master", "commit": "3259b54f3b954b4d8260f3ee49ceabe978ea5636" }, "jupynium.nvim": { "branch": "master", "commit": "4086e40f5ab3b8b74330c5a69a26791953da5cd2" }, "jupytext.nvim": { "branch": "master", "commit": "2e86acfa4345f611c86f57116db0c06ffecb721d" }, @@ -52,14 +52,14 @@ "lualine.nvim": { "branch": "master", "commit": "0c6cca9f2c63dadeb9225c45bc92bb95a151d4af" }, "luarocks.nvim": { "branch": "main", "commit": "1db9093915eb16ba2473cfb8d343ace5ee04130a" }, "markdown.nvim": { "branch": "master", "commit": "dfa0d2def6dbf77e9206b16dc90cad4dd23d55d2" }, - "markview.nvim": { "branch": "main", "commit": "1edad11ca4a1fddf171c07a1a3d81e24cef08410" }, - "mason-lspconfig.nvim": { "branch": "main", "commit": "67da97f8c2fd12d05427bb485ce07ee6418e0a51" }, + "markview.nvim": { "branch": "main", "commit": "c3b270ac84391b9792dba122d47139c741217311" }, + "mason-lspconfig.nvim": { "branch": "main", "commit": "4cad8f67d9594565549442e2e8c68556761ab7a9" }, "mason-nvim-dap.nvim": { "branch": "main", "commit": "4c2cdc69d69fe00c15ae8648f7e954d99e5de3ea" }, "mason.nvim": { "branch": "main", "commit": "8024d64e1330b86044fed4c8494ef3dcd483a67c" }, - "melange.nvim": { "branch": "master", "commit": "2db5407f2f6d6d6286f50f2f7365728d66f6f3ae" }, + "melange.nvim": { "branch": "master", "commit": "a51c6faa4fb09331382f87be99f71a8aa48dd422" }, "mini.icons": { "branch": "main", "commit": "397ed3807e96b59709ef3292f0a3e253d5c1dc0a" }, "mini.nvim": { "branch": "main", "commit": "94cae4660a8b2d95dbbd56e1fbc6fcfa2716d152" }, - "neoconf.nvim": { "branch": "main", "commit": "5ebd6c29c88931fe7c603f087b4c32ac8157d901" }, + "neoconf.nvim": { "branch": "main", "commit": "cc95f47a2b0f8384cfb21aed85c797bcc4911438" }, "neocord": { "branch": "main", "commit": "2ebf3792a8100376bb65fd66d5dbf60f50af7529" }, "neogen": { "branch": "main", "commit": "b2e78708876f4da507839726816010a68e33fec8" }, "neogit": { "branch": "master", "commit": "43fa47fb61773b0d90a78ebc2521ea8faaeebd86" }, @@ -85,11 +85,11 @@ "nvim-java-refactor": { "branch": "main", "commit": "b51a57d862338999059e1d1717df3bc80a3a15c0" }, "nvim-java-test": { "branch": "main", "commit": "7f0f40e9c5b7eab5096d8bec6ac04251c6e81468" }, "nvim-lint": { "branch": "master", "commit": "b47cbb249351873e3a571751c3fb66ed6369852f" }, - "nvim-lspconfig": { "branch": "master", "commit": "b8e7957bde4cbb3cb25a13a62548f7c273b026e9" }, + "nvim-lspconfig": { "branch": "master", "commit": "3fe2f7f63fe2ab9733252d1e246dd4c7bf9e6b95" }, "nvim-nio": { "branch": "master", "commit": "21f5324bfac14e22ba26553caf69ec76ae8a7662" }, "nvim-silicon": { "branch": "main", "commit": "7f66bda8f60c97a5bf4b37e5b8acb0e829ae3c32" }, "nvim-treesitter": { "branch": "master", "commit": "42fc28ba918343ebfd5565147a42a26580579482" }, - "nvim-treesitter-context": { "branch": "master", "commit": "ed1cf48d5af252248c55f50b9427e8ce883a2c6b" }, + "nvim-treesitter-context": { "branch": "master", "commit": "464a443b5a6657f39772b20baa95d02ffe97b268" }, "nvim-treesitter-textobjects": { "branch": "master", "commit": "0f051e9813a36481f48ca1f833897210dbcfffde" }, "nvim-ts-autotag": { "branch": "main", "commit": "a1d526af391f6aebb25a8795cbc05351ed3620b5" }, "nvim-ts-context-commentstring": { "branch": "main", "commit": "1b212c2eee76d787bbea6aa5e92a2b534e7b4f8f" }, @@ -142,7 +142,7 @@ "vim-illuminate": { "branch": "master", "commit": "0d1e93684da00ab7c057410fecfc24f434698898" }, "vim-just": { "branch": "main", "commit": "b7f9505f93ede57c4ec011405592280b3f1755ec" }, "vim-log-highlighting": { "branch": "master", "commit": "1037e26f3120e6a6a2c0c33b14a84336dee2a78f" }, - "vim-tmux-navigator": { "branch": "master", "commit": "a74836d404c295e799a6ba59794e37fe257509ec" }, + "vim-tmux-navigator": { "branch": "master", "commit": "96da8e10ce83b754f442c3e25d1bf74451d220f2" }, "vimtex": { "branch": "master", "commit": "bcb14eb6e3739f0c1902115a710292bc37c62d2e" }, "which-key.nvim": { "branch": "main", "commit": "fcbf4eea17cb299c02557d576f0d568878e354a4" }, "yuck.vim": { "branch": "master", "commit": "9b5e0370f70cc30383e1dabd6c215475915fe5c3" } diff --git a/lua/plugins/colorful-menu.lua b/lua/plugins/colorful-menu.lua index 9c4a020..380b300 100644 --- a/lua/plugins/colorful-menu.lua +++ b/lua/plugins/colorful-menu.lua @@ -1,91 +1,4 @@ return { "xzbdmw/colorful-menu.nvim", - opts = { - ls = { - lua_ls = { - -- Maybe you want to dim arguments a bit. - arguments_hl = "@comment", - }, - gopls = { - -- By default, we render variable/function's type in the right most side, - -- to make them not to crowd together with the original label. - - -- when true: - -- foo *Foo - -- ast "go/ast" - - -- when false: - -- foo *Foo - -- ast "go/ast" - align_type_to_right = true, - -- When true, label for field and variable will format like "foo: Foo" - -- instead of go's original syntax "foo Foo". If align_type_to_right is - -- true, this option has no effect. - add_colon_before_type = true, - -- See https://github.com/xzbdmw/colorful-menu.nvim/pull/36 - preserve_type_when_truncate = true, - }, - -- for lsp_config or typescript-tools - ts_ls = { - -- false means do not include any extra info, - -- see https://github.com/xzbdmw/colorful-menu.nvim/issues/42 - extra_info_hl = "@comment", - }, - vtsls = { - -- false means do not include any extra info, - -- see https://github.com/xzbdmw/colorful-menu.nvim/issues/42 - extra_info_hl = "@comment", - }, - ["rust-analyzer"] = { - -- Such as (as Iterator), (use std::io). - extra_info_hl = "@comment", - -- Similar to the same setting of gopls. - align_type_to_right = true, - -- See https://github.com/xzbdmw/colorful-menu.nvim/pull/36 - preserve_type_when_truncate = true, - }, - clangd = { - -- Such as "From ". - extra_info_hl = "@comment", - -- Similar to the same setting of gopls. - align_type_to_right = true, - -- the hl group of leading dot of "•std::filesystem::permissions(..)" - import_dot_hl = "@comment", - -- See https://github.com/xzbdmw/colorful-menu.nvim/pull/36 - preserve_type_when_truncate = true, - }, - zls = { - -- Similar to the same setting of gopls. - align_type_to_right = true, - }, - roslyn = { - extra_info_hl = "@comment", - }, - dartls = { - extra_info_hl = "@comment", - }, - -- The same applies to pyright/pylance - basedpyright = { - -- It is usually import path such as "os" - extra_info_hl = "@comment", - }, - -- If true, try to highlight "not supported" languages. - fallback = true, - -- this will be applied to label description for unsupport languages - fallback_extra_info_hl = "@comment", - }, - -- If the built-in logic fails to find a suitable highlight group for a label, - -- this highlight is applied to the label. - fallback_highlight = "@variable", - -- If provided, the plugin truncates the final displayed text to - -- this width (measured in display cells). Any highlights that extend - -- beyond the truncation point are ignored. When set to a float - -- between 0 and 1, it'll be treated as percentage of the width of - -- the window: math.floor(max_width * vim.api.nvim_win_get_width(0)) - -- Default 60. - max_width = 80, - }, - config = function(_, opts) - require("colorful-menu").setup(opts) - end, + opts = true, }