Skip to content

Commit 6b6eedf

Browse files
committed
Runtime file updates.
1 parent 580061a commit 6b6eedf

2 files changed

Lines changed: 6 additions & 5 deletions

File tree

runtime/spell/pt/main.aap

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,8 @@ pt_PT.aff pt_PT.dic: {buildcheck=}
5959
:delete {f} description.xml
6060
:delete {f} dictionaries.xcu
6161
:delete {f} LICENSES.txt
62-
:sys $VIM pt_PT.dic -u NONE -e -c "%s/\t.*//" -c update -c q
62+
# Remove grammer items and the duplicates this causes
63+
:sys $VIM pt_PT.dic -u NONE -e -c "%s/\t.*//" -c "2,$$ sort u" -c update -c q
6364
:sys $VIM pt_PT.aff -u NONE -e -c "%s/\S\+=\S\+$$//" -c update -c q
6465
@if not os.path.exists('pt_PT.orig.aff'):
6566
:copy pt_PT.aff pt_PT.orig.aff

runtime/syntax/tex.vim

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
" Vim syntax file
22
" Language: TeX
33
" Maintainer: Dr. Charles E. Campbell, Jr. <NdrchipO@ScampbellPfamily.AbizM>
4-
" Last Change: Aug 09, 2010
5-
" Version: 56
4+
" Last Change: Aug 12, 2010
5+
" Version: 57
66
" URL: http://mysite.verizon.net/astronaut/vim/index.html#vimlinks_syntax
77
"
88
" Notes: {{{1
@@ -814,8 +814,8 @@ if has("conceal") && &enc == 'utf-8'
814814

815815
" Superscripts/Subscripts {{{2
816816
if s:tex_conceal =~ 's'
817-
syn region texSuperscript matchgroup=Delimiter start='\^{' end='}' contained concealends contains=texSuperscripts,texStatement
818-
syn region texSubscript matchgroup=Delimiter start='_{' end='}' contained concealends contains=texSubscripts,texStatement
817+
syn region texSuperscript matchgroup=Delimiter start='\^{' end='}' contained concealends contains=texSuperscripts,texStatement,texSubscript,texSuperscript,texMathMatcher
818+
syn region texSubscript matchgroup=Delimiter start='_{' end='}' contained concealends contains=texSubscripts,texStatement,texSubscript,texSuperscript,texMathMatcher
819819
fun! s:SuperSub(group,leader,pat,cchar)
820820
exe 'syn match '.a:group." '".a:leader.a:pat."' contained conceal cchar=".a:cchar
821821
exe 'syn match '.a:group."s '".a:pat."' contained conceal cchar=".a:cchar.' nextgroup='.a:group.'s'

0 commit comments

Comments
 (0)