Rozdiely pre vimconfig/vimrc medzi verziami 1.38 a 1.39
| verzia 1.38, 2002/02/05 22:41:53 |
verzia 1.39, 2002/02/06 00:48:36 |
| Riadok 337 if version >= 600 |
|
| Riadok 337 if version >= 600 |
|
| endif |
endif |
| " FoldLongLines() }}} |
" FoldLongLines() }}} |
| |
|
| " Function SetVimVar() {{{ |
|
| " Functions set appropriate values in variables according to line in |
|
| " 'modelines' VIM_VAR: var1=value1 var2=value2 |
|
| " |
|
| "fun! SetVimVar() |
|
| ":$-5,$ call SetVimVarFromLine() |
|
| "endfun |
|
| " SetVimVar() }}} |
|
| |
|
| " Function SetVimVarFromLine() {{{ |
|
| " |
|
| "fun! SetVimVarFromLine() |
|
| ":let matx = ".* VIM_VAR: " |
|
| ":let curr_line = getline(".") |
|
| ":if match(curr_line, matx) == 0 |
|
| ": echo "Match on line " . "|" . curr_line |
|
| ": exec ":let " . substitute(curr_line, matx, "", "") |
|
| ":endif |
|
| "endfun |
|
| " SetVimVarFromLine() }}} |
|
| |
|
| " Function AutoLastMod() {{{ |
" Function AutoLastMod() {{{ |
| " Provides atomatic change of date in files, if it is set via |
" Provides atomatic change of date in files, if it is set via |
| " modeline variable autolastmod to appropriate value. |
" modeline variable autolastmod to appropriate value. |
Platon Group <platon@platon.sk> http://platon.sk/
|
|