Looks like MkdnTableNewColAfter and MkdnTableNewColBefore are both broken. Everytime I try to use them it shows this error:
Adding rows works as expected. I tried with empty and full columns/tables and I get the same error.
Looking a bit on the error I found that in the line referenced (l 180, tables.lua) there is a vim.api.nvim_win_get_cursor(0) that looks to be returning a list instead of a tuple as the docs say (I'm on latest nvim nightly). But fixing that on my end then throws an error on line 512 as match is nil which looks correct as string:find only returns two values. But I'm very new to lua so I'm probably missing something.
Looks like
MkdnTableNewColAfter
andMkdnTableNewColBefore
are both broken. Everytime I try to use them it shows this error:Adding rows works as expected. I tried with empty and full columns/tables and I get the same error.
Looking a bit on the error I found that in the line referenced (l 180, tables.lua) there is a
vim.api.nvim_win_get_cursor(0)
that looks to be returning a list instead of a tuple as the docs say (I'm on latest nvim nightly). But fixing that on my end then throws an error on line 512 asmatch
is nil which looks correct asstring:find
only returns two values. But I'm very new to lua so I'm probably missing something.