From 3dbe74f2eef627e2dc19b79fe06753d5dc09003f Mon Sep 17 00:00:00 2001 From: Robert Günzler Date: Wed, 15 May 2024 09:00:31 +0200 Subject: update nvim MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Robert Günzler --- .vim/colorizer-nohash.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .vim/colorizer-nohash.patch (limited to '.vim/colorizer-nohash.patch') diff --git a/.vim/colorizer-nohash.patch b/.vim/colorizer-nohash.patch new file mode 100644 index 0000000..2215c76 --- /dev/null +++ b/.vim/colorizer-nohash.patch @@ -0,0 +1,14 @@ +diff --git a/lua/colorizer.lua b/lua/colorizer.lua +index e47e079..d986a4a 100644 +--- a/lua/colorizer.lua ++++ b/lua/colorizer.lua +@@ -190,7 +190,7 @@ local function rgb_hex_parser(line, i, minlen, maxlen) + if i > 1 and byte_is_alphanumeric(line:byte(i-1)) then + return + end +- if line:byte(i) ~= b_hash then ++ if line:byte(i) ~= b_hash and (not vim.g.colorizer_nohash) then + return + end + local j = i + 1 + -- cgit 1.4.1