Skip to content

Commit a6656bd

Browse files
author
cht
committed
format
1 parent 84b813c commit a6656bd

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

lua/csvtools.lua

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ local M = {
99
before = 20,
1010
after = 20,
1111
clearafter = true,
12-
showoverflow = true,
12+
showoverflow = true,
1313
overflowtext = {
1414
markid = nil,
1515
ns_id = nil,
@@ -82,9 +82,9 @@ function M.Highlight()
8282
local start, final = getrange(line, length)
8383
--print(start)
8484
--print(final)
85-
if M.showoverflow then
86-
M.overflowtext = overflow.OverFlow(line, M.header)
87-
end
85+
if M.showoverflow then
86+
M.overflowtext = overflow.OverFlow(line, M.header)
87+
end
8888
for i = start, line, 1 do
8989
highlight.highlight(M.mainwindowbuf, i)
9090
end
@@ -94,9 +94,9 @@ function M.Highlight()
9494
end
9595
end
9696
function M.deleteMark()
97-
if M.showoverflow then
98-
vim.api.nvim_buf_del_extmark(M.overflowtext.markid, M.overflowtext.ns_id, M.overflowtext.id)
99-
end
97+
if M.showoverflow then
98+
vim.api.nvim_buf_del_extmark(M.overflowtext.markid, M.overflowtext.ns_id, M.overflowtext.id)
99+
end
100100
end
101101
function M.add_mappings()
102102
M.mainwindowbuf = vim.api.nvim_get_current_buf()

0 commit comments

Comments
 (0)