diff --git a/lua/typstar/snippets/matrix.lua b/lua/typstar/snippets/matrix.lua index 3724ccd..17ce75c 100644 --- a/lua/typstar/snippets/matrix.lua +++ b/lua/typstar/snippets/matrix.lua @@ -61,7 +61,7 @@ local lmat = function(_, sp) ins_indx = ins_indx + 1 for k = 2, cols do table.insert(nodes, t(', ')) - if k == cols then table.insert(nodes, t('dots, ')) end + if k == cols then table.insert(nodes, t('dots.c, ')) end if j == k then table.insert(nodes, r(ins_indx, tostring(j) .. 'x' .. tostring(k), i(1, '1'))) else