From 0f20a72e39bcaa1e1202f3eb360845d005a5845d Mon Sep 17 00:00:00 2001 From: arne314 <73391160+arne314@users.noreply.github.com> Date: Mon, 10 Feb 2025 12:21:34 +0100 Subject: [PATCH] minor(snip): add `Im` 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 7ffbc5a..e079b8b 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 = { 'in', 'ln', 'pi', 'xi', 'Ii', 'Jj', 'Kk', 'Ll', 'Mm', 'Nn' } +local index_conflicts = { 'Im', 'in', 'ln', 'pi', 'xi', 'Ii', 'Jj', 'Kk', 'Ll', 'Mm', 'Nn' } local index_conflicts_set = {} local punctuation_prepend_space = { ',', ';' } local punctuation_prepend_space_set = {}