diff options
author | Bram Moolenaar <Bram@vim.org> | 2007-05-10 18:38:52 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2007-05-10 18:38:52 +0000 |
commit | 10c56952d8d29365e178baa4e0db785493041595 (patch) | |
tree | 7330479a65e48a2c92c135a37e106686f484f6ce /runtime | |
parent | 335437bb249a46c51109251ff50f1b9aa8828fc4 (diff) | |
download | vim-git-10c56952d8d29365e178baa4e0db785493041595.tar.gz |
updated for version 7.1b
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/doc/arabic.txt | 2 | ||||
-rw-r--r-- | runtime/doc/usr_11.txt | 2 | ||||
-rw-r--r-- | runtime/doc/usr_28.txt | 2 | ||||
-rw-r--r-- | runtime/doc/usr_40.txt | 2 | ||||
-rw-r--r-- | runtime/doc/windows.txt | 2 | ||||
-rw-r--r-- | runtime/ftplugin/mp.vim | 4 | ||||
-rw-r--r-- | runtime/spell/pt/main.aap | 7 | ||||
-rw-r--r-- | runtime/syntax/plaintex.vim | 13 |
8 files changed, 19 insertions, 15 deletions
diff --git a/runtime/doc/arabic.txt b/runtime/doc/arabic.txt index 95ce20fe7..f2b0f82a9 100644 --- a/runtime/doc/arabic.txt +++ b/runtime/doc/arabic.txt @@ -1,4 +1,4 @@ -*arabic.txt* For Vim version 7.1a. Last change: 2005 Mar 29 +*arabic.txt* For Vim version 7.1b. Last change: 2005 Mar 29 VIM REFERENCE MANUAL by Nadim Shaikli diff --git a/runtime/doc/usr_11.txt b/runtime/doc/usr_11.txt index e3adf4687..6d54a408b 100644 --- a/runtime/doc/usr_11.txt +++ b/runtime/doc/usr_11.txt @@ -1,4 +1,4 @@ -*usr_11.txt* For Vim version 7.1a. Last change: 2006 Apr 24 +*usr_11.txt* For Vim version 7.1b. Last change: 2006 Apr 24 VIM USER MANUAL - by Bram Moolenaar diff --git a/runtime/doc/usr_28.txt b/runtime/doc/usr_28.txt index bb8da7f67..0ebd8c72d 100644 --- a/runtime/doc/usr_28.txt +++ b/runtime/doc/usr_28.txt @@ -1,4 +1,4 @@ -*usr_28.txt* For Vim version 7.1a. Last change: 2006 Apr 24 +*usr_28.txt* For Vim version 7.1b. Last change: 2006 Apr 24 VIM USER MANUAL - by Bram Moolenaar diff --git a/runtime/doc/usr_40.txt b/runtime/doc/usr_40.txt index 30c86a037..fe860ddaf 100644 --- a/runtime/doc/usr_40.txt +++ b/runtime/doc/usr_40.txt @@ -1,4 +1,4 @@ -*usr_40.txt* For Vim version 7.1a. Last change: 2006 Jun 21 +*usr_40.txt* For Vim version 7.1b. Last change: 2006 Jun 21 VIM USER MANUAL - by Bram Moolenaar diff --git a/runtime/doc/windows.txt b/runtime/doc/windows.txt index 1b18b2e0a..d8d9c9f82 100644 --- a/runtime/doc/windows.txt +++ b/runtime/doc/windows.txt @@ -1,4 +1,4 @@ -*windows.txt* For Vim version 7.1a. Last change: 2007 Mar 17 +*windows.txt* For Vim version 7.1b. Last change: 2007 Mar 17 VIM REFERENCE MANUAL by Bram Moolenaar diff --git a/runtime/ftplugin/mp.vim b/runtime/ftplugin/mp.vim index 1d709ea75..370978216 100644 --- a/runtime/ftplugin/mp.vim +++ b/runtime/ftplugin/mp.vim @@ -1,7 +1,7 @@ " Vim filetype plugin file " Language: MetaPost " Maintainer: Nikolai Weibull <now@bitwi.se> -" Latest Revision: 2006-04-19 +" Latest Revision: 2006-07-04 if exists("b:did_ftplugin") finish @@ -12,7 +12,7 @@ let b:undo_ftplugin = "setl com< cms< fo<" setlocal comments=:% commentstring=%\ %s formatoptions-=t formatoptions+=croql -if !exists(":FixBeginfigs") != 2 +if exists(":FixBeginfigs") != 2 command -nargs=0 FixBeginfigs call s:fix_beginfigs() function! s:fix_beginfigs() diff --git a/runtime/spell/pt/main.aap b/runtime/spell/pt/main.aap index 9256a9b2b..78270e96b 100644 --- a/runtime/spell/pt/main.aap +++ b/runtime/spell/pt/main.aap @@ -36,8 +36,9 @@ PT_FNAME = myspell.pt-latest.zip # Fetching the pt_BR files from BrOffice.org (Brazilian OOo) 2.1. Should be # updated really soon. # -BR_DIR = http://www.deso-se.com.br/downloads/download.php?arquivo=pt_BR-2700g -BR_FNAME = pt_BR-2700g.zip +BR_BASENAME = pt_BR-2007-04-11 +BR_DIR = http://www.deso-se.com.br/downloads/download.php?arquivo=$BR_BASENAME +BR_FNAME = $(BR_BASENAME).zip :attr {fetch = $BR_DIR} $BR_FNAME @@ -94,7 +95,7 @@ pt_BR.aff pt_BR.dic: {buildcheck=} # Removing /* ... */ header to avoid warnings. Write it to the README file, it # contains the copyright notice. - :sys $VIM pt_BR.aff -e -c "set ff=unix" -c "/\/\*/,/\*\//w README_pt_BR.txt" -c "/\/\*/,/\*\//+1d" -c update -c q + :sys $VIM pt_BR.aff -e -c "set ff=unix" -c "/\/\*/,/\*\//w! README_pt_BR.txt" -c "/\/\*/,/\*\//+1d" -c update -c q #:sys $VIM README_pt_BR.txt -e -c "set ff=unix" -c update -c q @if not os.path.exists('pt_BR.orig.aff'): diff --git a/runtime/syntax/plaintex.vim b/runtime/syntax/plaintex.vim index 2e2bb3171..7020c68e9 100644 --- a/runtime/syntax/plaintex.vim +++ b/runtime/syntax/plaintex.vim @@ -1,7 +1,7 @@ " Vim syntax file " Language: TeX (plain.tex format) " Maintainer: Nikolai Weibull <now@bitwi.se> -" Latest Revision: 2006-04-19 +" Latest Revision: 2006-10-26 if exists("b:current_syntax") finish @@ -14,6 +14,7 @@ syn match plaintexControlSequence display contains=@NoSpell \ '\\[a-zA-Z@]\+' runtime! syntax/initex.vim +unlet b:current_syntax syn match plaintexComment display \ contains=ALLBUT,initexComment,plaintexComment @@ -30,8 +31,6 @@ syn match plaintexCommand display contains=@NoSpell \ '\\\%(plainoutput\|TeX\)\>' syn match plaintexBoxCommand display contains=@NoSpell \ '\\\%(null\|strut\)\>' -syn match plaintexCharacterCommand display contains=@NoSpell - \ /\\\%(["#$%&'.=^_`~]\|``\|''\|-\{2,3}\|[?!]`\|^^L\|\~\|\%(a[ae]\|A[AE]\|acute\|[cdHoOPStuvijlL]\|copyright\|d\=dag\|folio\|ldotp\|[lr]q\|oe\|OE\|slash\|ss\|underbar\)\>\)/ syn match plaintexDebuggingCommand display contains=@NoSpell \ '\\\%(showhyphens\|tracingall\|wlog\)\>' syn match plaintexFontsCommand display contains=@NoSpell @@ -61,13 +60,17 @@ syn match plaintexTablesCommand display contains=@NoSpell if !exists("g:plaintex_no_math") syn region plaintexMath matchgroup=plaintexMath - \ contains=@plaintexMath + \ contains=@plaintexMath,@NoSpell \ start='\$' skip='\\\\\|\\\$' end='\$' syn region plaintexMath matchgroup=plaintexMath - \ contains=@plaintexMath keepend + \ contains=@plaintexMath,@NoSpell keepend \ start='\$\$' skip='\\\\\|\\\$' end='\$\$' endif +" Keep this after plaintexMath, as we don’t want math mode started at a \$. +syn match plaintexCharacterCommand display contains=@NoSpell + \ /\\\%(["#$%&'.=^_`~]\|``\|''\|-\{2,3}\|[?!]`\|^^L\|\~\|\%(a[ae]\|A[AE]\|acute\|[cdHoOPStuvijlL]\|copyright\|d\=dag\|folio\|ldotp\|[lr]q\|oe\|OE\|slash\|ss\|underbar\)\>\)/ + syn cluster plaintexMath \ contains=plaintexMathCommand,plaintexMathBoxCommand, \ plaintexMathCharacterCommand,plaintexMathDelimiter, |