From d312795b874f6cde9cbdb343031d2764a6440621 Mon Sep 17 00:00:00 2001 From: Chris Grieser <73286100+chrisgrieser@users.noreply.github.com> Date: Wed, 13 Nov 2024 14:14:45 +0100 Subject: [PATCH] fix(select-builtin): disable highlighting of `[n]` due to MatchParen --- README.md | 2 ++ lua/dressing/config.lua | 2 ++ 2 files changed, 4 insertions(+) diff --git a/README.md b/README.md index 5f41efd..ac3a351 100644 --- a/README.md +++ b/README.md @@ -256,6 +256,8 @@ require("dressing").setup({ win_options = { cursorline = true, cursorlineopt = "both", + -- disable highlighting for the brackets around the numbers + winhighlight = "MatchParen:", }, -- These can be integers or a float between 0 and 1 (e.g. 0.4 for 40%) diff --git a/lua/dressing/config.lua b/lua/dressing/config.lua index 2b6f685..e933b23 100644 --- a/lua/dressing/config.lua +++ b/lua/dressing/config.lua @@ -127,6 +127,8 @@ local default_config = { win_options = { cursorline = true, cursorlineopt = "both", + -- disable highlighting for the brackets around the numbers + winhighlight = "MatchParen:", }, -- These can be integers or a float between 0 and 1 (e.g. 0.4 for 40%)