diff options
Diffstat (limited to '.vim/colorizer-nohash.patch')
| -rw-r--r-- | .vim/colorizer-nohash.patch | 14 |
1 files changed, 14 insertions, 0 deletions
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 + |