summary refs log tree commit diff
path: root/.vim/colorizer-nohash.patch
diff options
context:
space:
mode:
authorRobert Günzler <r@gnzler.io>2024-11-25 13:30:37 +0100
committerRobert Günzler <r@gnzler.io>2024-11-25 13:58:25 +0100
commit23de12baba9fbfc4ca24581b37c374aa5345cc25 (patch)
treee4b3c421bad572eb85a1089eaad44dc3059ab6e6 /.vim/colorizer-nohash.patch
parent18e3848110da0a59843058927ea04b496f5db2a5 (diff)
update nvim config
Signed-off-by: Robert Günzler <r@gnzler.io>
Diffstat (limited to '')
-rw-r--r--.vim/colorizer-nohash.patch14
1 files changed, 0 insertions, 14 deletions
diff --git a/.vim/colorizer-nohash.patch b/.vim/colorizer-nohash.patch
deleted file mode 100644
index 2215c76..0000000
--- a/.vim/colorizer-nohash.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-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
-