Mercurial > vim
comparison runtime/doc/eval.txt @ 555:a5efb97bc104
updated for version 7.0157
author | vimboss |
---|---|
date | Wed, 12 Oct 2005 20:58:49 +0000 |
parents | f43150a669dc |
children | 862863033fdd |
comparison
equal
deleted
inserted
replaced
554:917c4fda217f | 555:a5efb97bc104 |
---|---|
1 *eval.txt* For Vim version 7.0aa. Last change: 2005 Oct 10 | 1 *eval.txt* For Vim version 7.0aa. Last change: 2005 Oct 12 |
2 | 2 |
3 | 3 |
4 VIM REFERENCE MANUAL by Bram Moolenaar | 4 VIM REFERENCE MANUAL by Bram Moolenaar |
5 | 5 |
6 | 6 |
5170 Set option {option-name} to the result of the | 5170 Set option {option-name} to the result of the |
5171 expression {expr1}. A String or Number value is | 5171 expression {expr1}. A String or Number value is |
5172 always converted to the type of the option. | 5172 always converted to the type of the option. |
5173 For an option local to a window or buffer the effect | 5173 For an option local to a window or buffer the effect |
5174 is just like using the |:set| command: both the local | 5174 is just like using the |:set| command: both the local |
5175 value and the global value is changed. | 5175 value and the global value are changed. |
5176 Example: > | 5176 Example: > |
5177 :let &path = &path . ',/usr/local/include' | 5177 :let &path = &path . ',/usr/local/include' |
5178 | 5178 |
5179 :let &{option-name} .= {expr1} | 5179 :let &{option-name} .= {expr1} |
5180 For a string option: Append {expr1} to the value. | 5180 For a string option: Append {expr1} to the value. |