Skip to content

Commit

Permalink
feat(conceal): support more superscripts
Browse files Browse the repository at this point in the history
  • Loading branch information
MithicSpirit committed Feb 21, 2024
1 parent 9df79e1 commit 749317b
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions autoload/vimtex/syntax/core.vim
Original file line number Diff line number Diff line change
Expand Up @@ -1442,6 +1442,14 @@ let s:map_sub = [
\]

let s:map_super = [
\ ['\\beta\>', ''],
\ ['\\gamma\>', ''],
\ ['\\delta\>', ''],
\ ['\\epsilon\>', ''],
\ ['\\theta\>', 'ᶿ'],
\ ['\\iota\>', ''],
\ ['\\phi\>', ''],
\ ['\\chi\>', ''],
\ ['(', ''],
\ [')', ''],
\ ['+', ''],
Expand Down Expand Up @@ -1477,6 +1485,7 @@ let s:map_super = [
\ ['n', ''],
\ ['o', ''],
\ ['p', ''],
\ ['q', '𐞥'],
\ ['r', 'ʳ'],
\ ['s', 'ˢ'],
\ ['t', ''],
Expand All @@ -1488,8 +1497,10 @@ let s:map_super = [
\ ['z', ''],
\ ['A', ''],
\ ['B', ''],
\ ['C', ''],
\ ['D', ''],
\ ['E', ''],
\ ['F', ''],
\ ['G', ''],
\ ['H', ''],
\ ['I', ''],
Expand All @@ -1500,6 +1511,7 @@ let s:map_super = [
\ ['N', ''],
\ ['O', ''],
\ ['P', ''],
\ ['Q', ''],
\ ['R', 'ᴿ'],
\ ['T', ''],
\ ['U', ''],
Expand Down

0 comments on commit 749317b

Please sign in to comment.