updated for version 7.0141
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt
index bc03f03..f55083c 100644
--- a/runtime/doc/eval.txt
+++ b/runtime/doc/eval.txt
@@ -1,4 +1,4 @@
-*eval.txt* For Vim version 7.0aa. Last change: 2005 Aug 31
+*eval.txt* For Vim version 7.0aa. Last change: 2005 Sep 05
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1607,6 +1607,7 @@
resolve( {filename}) String get filename a shortcut points to
reverse( {list}) List reverse {list} in-place
search( {pattern} [, {flags}]) Number search for {pattern}
+searchdecl({name} [, {global}]) Number search for variable declaration
searchpair( {start}, {middle}, {end} [, {flags} [, {skip}]])
Number search for other end of start/end pair
server2client( {clientid}, {string})
@@ -1622,7 +1623,7 @@
sort( {list} [, {func}]) List sort {list}, using {func} to compare
soundfold( {word}) String sound-fold {word}
spellbadword() String badly spelled word at cursor
-spellsuggest({word} [, {max}]) List spelling suggestions
+spellsuggest( {word} [, {max}]) List spelling suggestions
split( {expr} [, {pat} [, {keepempty}]])
List make List from {pat} separated {expr}
strftime( {format}[, {time}]) String time in specified format
@@ -3709,6 +3710,18 @@
: let n = n + 1
:endwhile
<
+
+searchdecl({name} [, {global}]) *searchdecl()*
+ Search for the declaration of {name}. Without {global} or
+ with a zero {global} argument this works like |gd|. With a
+ non-zero {global} argument it works like |gD|.
+ Moves the cursor to the found match.
+ Returns zero for success, non-zero for failure.
+ Example: >
+ if searchdecl('myvar') == 0
+ echo getline('.')
+ endif
+<
*searchpair()*
searchpair({start}, {middle}, {end} [, {flags} [, {skip}]])
Search for the match of a nested start-end pair. This can be
@@ -4668,7 +4681,8 @@
avoid obvious, short names. A good habit is to start the function name with
the name of the script, e.g., "HTMLcolor()".
-It's also possible to use curly braces, see |curly-braces-names|.
+It's also possible to use curly braces, see |curly-braces-names|. And the
+|autoload| facility is useful to define a function only when it's called.
*local-function*
A function local to a script must start with "s:". A local script function
@@ -4684,6 +4698,10 @@
{name} can also be a Dictionary entry that is a
Funcref: >
:function dict.init
+
+:fu[nction] /{pattern} List functions with a name matching {pattern}.
+ Example that lists all functions ending with "File": >
+ :function /File$
<
*:function-verbose*
When 'verbose' is non-zero, listing a function will also display where it was
diff --git a/runtime/doc/spell.txt b/runtime/doc/spell.txt
index a2d5135..49f727d 100644
--- a/runtime/doc/spell.txt
+++ b/runtime/doc/spell.txt
@@ -218,6 +218,12 @@
de_at Austria
de_ch Switzerland
+ *spell-russian*
+Specific exception: For Russian these special regions are used:
+ ru all Russian words accepted
+ ru_ru "IE" letter spelling
+ ru_yo "YO" letter spelling
+
*spell-yiddish*
Yiddish requires using "utf-8" encoding, because of the special characters
used. If you are using latin1 Vim will use transliterated (romanized) Yiddish
diff --git a/runtime/doc/tags b/runtime/doc/tags
index 870b7bb..930f7b5 100644
--- a/runtime/doc/tags
+++ b/runtime/doc/tags
@@ -5291,7 +5291,6 @@
hebrew.txt hebrew.txt /*hebrew.txt*
help various.txt /*help*
help-context help.txt /*help-context*
-help-tags tags 1
help-translated various.txt /*help-translated*
help-xterm-window various.txt /*help-xterm-window*
help.txt help.txt /*help.txt*
@@ -6457,6 +6456,7 @@
spell-mkspell spell.txt /*spell-mkspell*
spell-quickstart spell.txt /*spell-quickstart*
spell-remarks spell.txt /*spell-remarks*
+spell-russian spell.txt /*spell-russian*
spell-syntax spell.txt /*spell-syntax*
spell-wordlist-format spell.txt /*spell-wordlist-format*
spell-yiddish spell.txt /*spell-yiddish*
diff --git a/runtime/ftplugin/verilog.vim b/runtime/ftplugin/verilog.vim
index 8a8cfbe..2f426ac 100644
--- a/runtime/ftplugin/verilog.vim
+++ b/runtime/ftplugin/verilog.vim
@@ -1,7 +1,7 @@
" Vim filetype plugin file
" Language: Verilog HDL
" Maintainer: Chih-Tsun Huang <cthuang@larc.ee.nthu.edu.tw>
-" Last Change: Wed Oct 31 16:16:19 CST 2001
+" Last Change: Mon Sep 5 11:05:54 CST 2005
" URL: http://larc.ee.nthu.edu.tw/~cthuang/vim/ftplugin/verilog.vim
" Only do this when not done yet for this buffer
@@ -12,6 +12,10 @@
" Don't load another plugin for this buffer
let b:did_ftplugin = 1
+" Undo the plugin effect
+let b:undo_ftplugin = "setlocal fo< com< tw<"
+ \ . "| unlet b:browsefilter b:match_ignorecase b:match_words"
+
" Set 'formatoptions' to break comment lines but not other lines,
" and insert the comment leader when hitting <CR> or using "o".
setlocal fo-=t fo+=croqlm1
@@ -20,7 +24,9 @@
setlocal comments=sO:*\ -,mO:*\ \ ,exO:*/,s1:/*,mb:*,ex:*/,://
" Format comments to be up to 78 characters long
-setlocal tw=75
+if &textwidth == 0
+ setlocal tw=78
+endif
set cpo-=C
diff --git a/runtime/spell/ru/main.aap b/runtime/spell/ru/main.aap
index 85aeca9..e3d37a1 100644
--- a/runtime/spell/ru/main.aap
+++ b/runtime/spell/ru/main.aap
@@ -6,7 +6,7 @@
@else:
:progsearch VIM vim
-REGIONS = RU IE YO
+REGIONS = RU YO
SPELLDIR = ..
FILES = ru_$*(REGIONS).aff ru_$*(REGIONS).dic
@@ -14,21 +14,18 @@
$SPELLDIR/ru.cp1251.spl ../README_ru.txt
$SPELLDIR/ru.koi8-r.spl : $FILES
- :sys env LANG=ru_RU.KOI8-R $VIM -u NONE -e -c "mkspell! $SPELLDIR/ru ru_RU ru_IE ru_YO" -c q
+ :sys env LANG=ru_RU.KOI8-R $VIM -u NONE -e -c "mkspell! $SPELLDIR/ru ru_RU ru_YO" -c q
$SPELLDIR/ru.utf-8.spl : $FILES
- :sys env LANG=ru_RU.UTF-8 $VIM -u NONE -e -c "mkspell! $SPELLDIR/ru ru_RU ru_IE ru_YO" -c q
+ :sys env LANG=ru_RU.UTF-8 $VIM -u NONE -e -c "mkspell! $SPELLDIR/ru ru_RU ru_YO" -c q
$SPELLDIR/ru.cp1251.spl : $FILES
- :sys env LANG=ru_RU.CP1251 $VIM -u NONE -e -c "mkspell! $SPELLDIR/ru ru_RU ru_IE ru_YO" -c q
+ :sys env LANG=ru_RU.CP1251 $VIM -u NONE -e -c "mkspell! $SPELLDIR/ru ru_RU ru_YO" -c q
../README_ru.txt: README_ru_$*(REGIONS).txt
:print ru_RU >! $target
:cat README_ru_RU.txt >> $target
:print =================================================== >>$target
- :print ru_IE >> $target
- :cat README_ru_IE.txt >> $target
- :print =================================================== >>$target
:print ru_YO >> $target
:cat README_ru_YO.txt >> $target
@@ -36,7 +33,7 @@
# Fetching the files from OpenOffice.org.
#
OODIR = http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionaries
-:attr {fetch = $OODIR/%file%} ru_RU.zip ru_RU_ye.zip ru_RU_yo.zip
+:attr {fetch = $OODIR/%file%} ru_RU.zip ru_RU_yo.zip
# The files don't depend on the .zip file so that we can delete it.
# Only download the zip file if the targets don't exist.
@@ -53,21 +50,6 @@
@if os.path.exists('ru_RU.diff'):
:sys patch <ru_RU.diff
-ru_IE.aff ru_IE.dic: {buildcheck=}
- :assertpkg unzip
- :fetch ru_RU_ye.zip
- :sys unzip ru_RU_ye.zip
- :delete ru_RU_ye.zip
- :move ru_RU_ie.aff ru_IE.aff
- :move ru_RU_ie.dic ru_IE.dic
- :move README_ru_RU_ie.txt README_ru_IE.txt
- @if not os.path.exists('ru_IE.orig.aff'):
- :copy ru_IE.aff ru_IE.orig.aff
- @if not os.path.exists('ru_IE.orig.dic'):
- :copy ru_IE.dic ru_IE.orig.dic
- @if os.path.exists('ru_IE.diff'):
- :sys patch <ru_IE.diff
-
ru_YO.aff ru_YO.dic: {buildcheck=}
:assertpkg unzip
:fetch ru_RU_yo.zip
@@ -91,8 +73,6 @@
:assertpkg diff
:sys {force} diff -a -C 1 ru_RU.orig.aff ru_RU.aff >ru_RU.diff
:sys {force} diff -a -C 1 ru_RU.orig.dic ru_RU.dic >>ru_RU.diff
- :sys {force} diff -a -C 1 ru_IE.orig.aff ru_IE.aff >ru_IE.diff
- :sys {force} diff -a -C 1 ru_IE.orig.dic ru_IE.dic >>ru_IE.diff
:sys {force} diff -a -C 1 ru_YO.orig.aff ru_YO.aff >ru_YO.diff
:sys {force} diff -a -C 1 ru_YO.orig.dic ru_YO.dic >>ru_YO.diff
diff --git a/runtime/spell/ru/ru_RU.diff b/runtime/spell/ru/ru_RU.diff
index 18560c3..c79fb0c 100644
--- a/runtime/spell/ru/ru_RU.diff
+++ b/runtime/spell/ru/ru_RU.diff
@@ -1,5 +1,21 @@
-*** ru_RU.orig.dic Sat Aug 27 22:54:55 2005
---- ru_RU.dic Sun Aug 28 11:46:34 2005
+*** ru_RU.orig.aff Sun Aug 28 21:12:27 2005
+--- ru_RU.aff Sun Sep 4 17:21:40 2005
+***************
+*** 3,4 ****
+--- 3,13 ----
+
++ FOL ÁÂ×ÇÄÅ£ÖÚÉÊËÌÍÎÏÐÒÓÔÕÆÈÃÞÛÝØÙßÜÀÑ
++ LOW ÁÂ×ÇÄÅ£ÖÚÉÊËÌÍÎÏÐÒÓÔÕÆÈÃÞÛÝØÙßÜÀÑ
++ UPP áâ÷çäå³öúéêëìíîïðòóôõæèãþûýøùÿüàñ
++
++ SOFOFROM ÁÂ×ÇÄÅ£ÖÚÉÊËÌÍÎÏÐÒÓÔÕÆÈÃÞÛÝØÙßÜÀÑáâ÷çäå³öúéêëìíîïðòóôõæèãþûýøùÿüàñ
++ SOFOTO ÅÂ×ÇÄÅÅÖÚÅÊËÌÎÎÅÐÒÓÔÅÆÈÃÞÛÛØÅ'ÅÅÅåâ÷çäååöúåêëìîîåðòóôåæèãþûûøå'ååå
++
++ MIDWORD '-
++
+ SFX L Y 52
+*** ru_RU.orig.dic Sun Aug 28 21:12:27 2005
+--- ru_RU.dic Sun Sep 4 17:23:27 2005
***************
*** 8767,8769 ****
ÂÌÅËÌÏÓÔØ/F
@@ -13,11 +29,15 @@
ÒÁÚÕÂÅÄÉ×ÛÉÊ/A
--- 98085,98086 ----
***************
-*** 115007,115009 ****
- ÔÏÌËÉ/B
-- ÔÏÌËÉ/O
+*** 115006,115009 ****
+ ÔÏÌËÁÀÝÉÊÓÑ/A
+! ÔÏÌËÉ/B
+! ÔÏÌËÉ/O
ÔÏÌËÌÁ/L
---- 115005,115006 ----
+--- 115004,115006 ----
+ ÔÏÌËÁÀÝÉÊÓÑ/A
+! ÔÏÌËÉ/BO
+ ÔÏÌËÌÁ/L
***************
*** 119209,119211 ****
ÕÎÉÖÅÎÎÙÊ/ASX
diff --git a/runtime/spell/ru/ru_YO.diff b/runtime/spell/ru/ru_YO.diff
index 2cf8177..cd2eb5a 100644
--- a/runtime/spell/ru/ru_YO.diff
+++ b/runtime/spell/ru/ru_YO.diff
@@ -1,5 +1,21 @@
-*** ru_YO.orig.dic Sat Aug 27 22:54:55 2005
---- ru_YO.dic Sun Aug 28 11:46:58 2005
+*** ru_YO.orig.aff Sun Aug 28 21:12:35 2005
+--- ru_YO.aff Sun Sep 4 17:23:51 2005
+***************
+*** 3,4 ****
+--- 3,13 ----
+
++ FOL ÁÂ×ÇÄÅ£ÖÚÉÊËÌÍÎÏÐÒÓÔÕÆÈÃÞÛÝØÙßÜÀÑ
++ LOW ÁÂ×ÇÄÅ£ÖÚÉÊËÌÍÎÏÐÒÓÔÕÆÈÃÞÛÝØÙßÜÀÑ
++ UPP áâ÷çäå³öúéêëìíîïðòóôõæèãþûýøùÿüàñ
++
++ SOFOFROM ÁÂ×ÇÄÅ£ÖÚÉÊËÌÍÎÏÐÒÓÔÕÆÈÃÞÛÝØÙßÜÀÑáâ÷çäå³öúéêëìíîïðòóôõæèãþûýøùÿüàñ
++ SOFOTO ÅÂ×ÇÄÅÅÖÚÅÊËÌÎÎÅÐÒÓÔÅÆÈÃÞÛÛØÅ'ÅÅÅåâ÷çäååöúåêëìîîåðòóôåæèãþûûøå'ååå
++
++ MIDWORD '-
++
+ SFX L Y 56
+*** ru_YO.orig.dic Sun Aug 28 21:12:35 2005
+--- ru_YO.dic Sun Sep 4 17:24:26 2005
***************
*** 86471,86473 ****
ÐÏÞÔ£ÎÎÙÊ/AS
@@ -7,8 +23,12 @@
ÐÏÞÔÉ/B
--- 86471,86472 ----
***************
-*** 115246,115248 ****
- ÔÏÌËÉ/B
-- ÔÏÌËÉ/O
+*** 115245,115248 ****
+ ÔÏÌËÁÀÝÉÊÓÑ/A
+! ÔÏÌËÉ/B
+! ÔÏÌËÉ/O
ÔÏÌËÌÁ/L
---- 115245,115246 ----
+--- 115244,115246 ----
+ ÔÏÌËÁÀÝÉÊÓÑ/A
+! ÔÏÌËÉ/BO
+ ÔÏÌËÌÁ/L