File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
9595end
9696function 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
100100end
101101function M .add_mappings ()
102102 M .mainwindowbuf = vim .api .nvim_get_current_buf ()
You can’t perform that action at this time.
0 commit comments