summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBram Moolenaar <bram@vim.org>2010-08-13 14:38:12 +0200
committerBram Moolenaar <bram@vim.org>2010-08-13 14:38:12 +0200
commit5a6f1633749d96e7d61693fa4f05b95b30bf2ba8 (patch)
tree0c05a60d1a436d352fee4bf056aadb9b1adf741e
parent1019df2c40a4ddef56bc0d1fc17fb925003e29bb (diff)
downloadvim-5a6f1633749d96e7d61693fa4f05b95b30bf2ba8.tar.gz
Runtime file updates.
-rw-r--r--runtime/spell/pt/main.aap3
-rw-r--r--runtime/syntax/tex.vim8
2 files changed, 6 insertions, 5 deletions
diff --git a/runtime/spell/pt/main.aap b/runtime/spell/pt/main.aap
index 2770f931..e54f9d5c 100644
--- a/runtime/spell/pt/main.aap
+++ b/runtime/spell/pt/main.aap
@@ -59,7 +59,8 @@ pt_PT.aff pt_PT.dic: {buildcheck=}
:delete {f} description.xml
:delete {f} dictionaries.xcu
:delete {f} LICENSES.txt
- :sys $VIM pt_PT.dic -u NONE -e -c "%s/\t.*//" -c update -c q
+ # Remove grammer items and the duplicates this causes
+ :sys $VIM pt_PT.dic -u NONE -e -c "%s/\t.*//" -c "2,$$ sort u" -c update -c q
:sys $VIM pt_PT.aff -u NONE -e -c "%s/\S\+=\S\+$$//" -c update -c q
@if not os.path.exists('pt_PT.orig.aff'):
:copy pt_PT.aff pt_PT.orig.aff
diff --git a/runtime/syntax/tex.vim b/runtime/syntax/tex.vim
index 97fc898c..5e6fc7f1 100644
--- a/runtime/syntax/tex.vim
+++ b/runtime/syntax/tex.vim
@@ -1,8 +1,8 @@
" Vim syntax file
" Language: TeX
" Maintainer: Dr. Charles E. Campbell, Jr. <NdrchipO@ScampbellPfamily.AbizM>
-" Last Change: Aug 09, 2010
-" Version: 56
+" Last Change: Aug 12, 2010
+" Version: 57
" URL: http://mysite.verizon.net/astronaut/vim/index.html#vimlinks_syntax
"
" Notes: {{{1
@@ -814,8 +814,8 @@ if has("conceal") && &enc == 'utf-8'
" Superscripts/Subscripts {{{2
if s:tex_conceal =~ 's'
- syn region texSuperscript matchgroup=Delimiter start='\^{' end='}' contained concealends contains=texSuperscripts,texStatement
- syn region texSubscript matchgroup=Delimiter start='_{' end='}' contained concealends contains=texSubscripts,texStatement
+ syn region texSuperscript matchgroup=Delimiter start='\^{' end='}' contained concealends contains=texSuperscripts,texStatement,texSubscript,texSuperscript,texMathMatcher
+ syn region texSubscript matchgroup=Delimiter start='_{' end='}' contained concealends contains=texSubscripts,texStatement,texSubscript,texSuperscript,texMathMatcher
fun! s:SuperSub(group,leader,pat,cchar)
exe 'syn match '.a:group." '".a:leader.a:pat."' contained conceal cchar=".a:cchar
exe 'syn match '.a:group."s '".a:pat."' contained conceal cchar=".a:cchar.' nextgroup='.a:group.'s'