From 6cec2691e429a36b71fd30fcae104a3064140741 Mon Sep 17 00:00:00 2001 From: arne314 <73391160+arne314@users.noreply.github.com> Date: Fri, 25 Apr 2025 19:18:13 +0200 Subject: [PATCH] fix(snip): use centered dots in matrices --- lua/typstar/snippets/matrix.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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