From e9a653b4e2a91d7c195599214a181519068a6028 Mon Sep 17 00:00:00 2001 From: lentilus Date: Sat, 25 Jan 2025 17:40:13 +0000 Subject: [PATCH] minor(snip): resolve index conflict with `lentilus/readable-typst` cal letters --- lua/typstar/snippets/letters.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lua/typstar/snippets/letters.lua b/lua/typstar/snippets/letters.lua index 6cc6257..131391c 100644 --- a/lua/typstar/snippets/letters.lua +++ b/lua/typstar/snippets/letters.lua @@ -38,7 +38,8 @@ local greek_letters_map = { local greek_keys = {} local greek_letters_set = {} local common_indices = { '\\d+', '[i-n]' } -local index_conflicts = { 'in', 'ln', 'pi', 'xi' } +-- 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_set = {} local trigger_greek = '' local trigger_index_pre = ''