diff --git a/lua/typstar/snippets/letters.lua b/lua/typstar/snippets/letters.lua index 52d6c72..07a67e8 100644 --- a/lua/typstar/snippets/letters.lua +++ b/lua/typstar/snippets/letters.lua @@ -39,7 +39,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', 'el' } +-- 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 punctuation_prepend_space = { ',', ';' } local punctuation_prepend_space_set = {}