aboutsummaryrefslogtreecommitdiff
path: root/lua/colorizer.lua
diff options
context:
space:
mode:
authorAshkan Kiani <ashkan.k.kiani@gmail.com>2019-11-07 20:14:32 -0800
committerAshkan Kiani <ashkan.k.kiani@gmail.com>2019-11-07 20:14:32 -0800
commit8f98c7bb0cc57e89433370b151776401a0109653 (patch)
treec2f879907882ea9371310e124093eaeb371b9500 /lua/colorizer.lua
parentAdd github funding. (diff)
Disable strict index checking.
Diffstat (limited to 'lua/colorizer.lua')
-rw-r--r--lua/colorizer.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/colorizer.lua b/lua/colorizer.lua
index 657afe7..6f4948f 100644
--- a/lua/colorizer.lua
+++ b/lua/colorizer.lua
@@ -515,7 +515,7 @@ local function attach_to_buffer(buf, options)
return true
end
nvim_buf_clear_namespace(buf, ns, firstline, new_lastline)
- local lines = nvim_buf_get_lines(buf, firstline, new_lastline, true)
+ local lines = nvim_buf_get_lines(buf, firstline, new_lastline, false)
highlight_buffer(buf, ns, lines, firstline, BUFFER_OPTIONS[buf])
end;
on_detach = function()