updated for version 7.0030

This commit is contained in:
Bram Moolenaar
2005-01-04 21:38:36 +00:00
parent b11160ef88
commit fca34d6d94
10 changed files with 40 additions and 47 deletions

View File

@ -1,4 +1,4 @@
*eval.txt* For Vim version 7.0aa. Last change: 2005 Jan 03
*eval.txt* For Vim version 7.0aa. Last change: 2005 Jan 04
VIM REFERENCE MANUAL by Bram Moolenaar
@ -3524,11 +3524,13 @@ This would call the function "my_func_whizz(parameter)".
:let &{option-name} = {expr1} *:let-option* *:let-star*
Set option {option-name} to the result of the
expression {expr1}. The value is always converted to
the type of the option.
expression {expr1}. A String or Number value is
always converted to the type of the option.
For an option local to a window or buffer the effect
is just like using the |:set| command: both the local
value and the global value is changed.
Example: >
:let &path = &path . ',/usr/local/include'
:let &l:{option-name} = {expr1}
Like above, but only set the local value of an option
@ -3538,6 +3540,25 @@ This would call the function "my_func_whizz(parameter)".
Like above, but only set the global value of an option
(if there is one). Works like |:setglobal|.
:let [{name1}, {name2}, ...] = {expr1} *:let-unpack*
{expr1} must evaluate to a List. The first item in
the list is assigned to {name1}, the second item to
{name2}, etc.
The number of names must match the number of items in
the List.
Each name can be one of the items of the ":let"
command as mentioned above.
Example: >
:let [s, item] = GetItem(s)
:let [{name}, ..., ; {lastname}] = {expr1}
Like above, but the List may have more items than
there are names. A list of the remaining items is
assigned to {lastname}. If there are no remaining
items {lastname} is set to an empty list.
Example: >
:let [a, b; rest] = ["aval", "bval", 3, 4]
<
*E106*
:let {var-name} .. List the value of variable {var-name}. Several
variable names may be given.

View File

@ -1,6 +1,6 @@
" Menu Translations: German / Deutsch
" Maintainer: Johannes Zellner <johannes@zellner.org>
" Originally By: Marcin Dalecki <dalecki@cs.net.pl>
" Originally By: Marcin Dalecki <martin@dalecki.de>
" Last Change: Sat, 20 Apr 2002 19:02:42 CEST
" vim:set foldmethod=marker tabstop=8:

View File

@ -3,7 +3,7 @@
" Language: SPEC: Build/install scripts for Linux RPM packages
" Maintainer: Donovan Rebbechi elflord@pegasus.rutgers.edu
" URL: http://pegasus.rutgers.edu/~elflord/vim/syntax/spec.vim
" Last Change: Fri Dec 3 11:54 EST 2004 Martin Dalecki
" Last Change: Fri Dec 3 11:54 EST 2004 Marcin Dalecki
" For version 5.x: Clear all syntax items
" For version 6.x: Quit when a syntax file was already loaded