From 8da248151fb9a755dc469e78ddbdaf758ddcac4f Mon Sep 17 00:00:00 2001 From: arne314 <73391160+arne314@users.noreply.github.com> Date: Sat, 14 Jun 2025 13:21:26 +0200 Subject: [PATCH] minor(snip)!: add `Pi` and `Xi` to index conflicts --- lua/typstar/snippets/letters.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/typstar/snippets/letters.lua b/lua/typstar/snippets/letters.lua index 18c1cd0..8728d81 100644 --- a/lua/typstar/snippets/letters.lua +++ b/lua/typstar/snippets/letters.lua @@ -41,7 +41,7 @@ local greek_keys = {} local greek_letters_set = {} local common_indices = { '\\d+', '[i-n]' } -- buitins and caligraphic letters from github.com/lentilus/readable-typst -local index_conflicts = { 'Im', 'in', 'ln', 'pi', 'xi', 'Ii', 'Jj', 'Kk', 'Ll', 'Mm', 'Nn' } +local index_conflicts = { 'Im', 'in', 'ln', 'Pi', 'pi', 'Xi', 'xi', 'Ii', 'Jj', 'Kk', 'Ll', 'Mm', 'Nn' } local index_conflicts_set = {} local punctuation_prepend_space = { ',', ';' } local punctuation_prepend_space_set = {}