diff --git a/lua/markview.lua b/lua/markview.lua index 3409c8a..28c2358 100644 --- a/lua/markview.lua +++ b/lua/markview.lua @@ -798,7 +798,6 @@ markview.configuration = { default = true }; else - vim.print(luminosity) return { bg = markview.colors.mix(bg, bg, 1, math.max(1 - luminosity, 0.05) * -1), default = true @@ -1454,9 +1453,6 @@ markview.commands = { enableAll = function () markview.state.enable = true; - vim.o.conceallevel = 2; - vim.o.concealcursor = "n"; - for _, buf in ipairs(markview.attached_buffers) do local parsed_content = markview.parser.init(buf); local windows = utils.find_attached_wins(buffer); @@ -1484,7 +1480,6 @@ markview.commands = { end markview.state.buf_states[buf] = false; - markview.renderer.clear(buf); end diff --git a/lua/markview/renderer.lua b/lua/markview/renderer.lua index 606639e..2804cb1 100644 --- a/lua/markview/renderer.lua +++ b/lua/markview/renderer.lua @@ -1729,8 +1729,6 @@ renderer.render = function (buffer, parsed_content, config_table, conceal_start, _G.__markview_render_ranges[buffer] = {}; end - -- vim.print(#parsed_content) - for _, content in ipairs(_G.__markview_views[buffer]) do local type = content.type; local fold_closed = vim.fn.foldclosed(content.row_start + 1);