| verzia 1.7, 2001/10/13 22:28:40 |
verzia 1.8, 2001/10/13 23:14:20 |
|
|
| " Maintainer: Lubomir Host <host8@kepler.fmph.uniba.sk> |
" Maintainer: Lubomir Host <host8@kepler.fmph.uniba.sk> |
| " Bugs Report: Lubomir Host <host8@kepler.fmph.uniba.sk> |
" Bugs Report: Lubomir Host <host8@kepler.fmph.uniba.sk> |
| " Copyright: GNU GPL |
" Copyright: GNU GPL |
| " Last Change: 2001 Oct 06 07:17:07 PM |
" Last Change: 2001 Oct 14 01:11:55 AM |
| " Version: 01.09.08 |
" Version: 01.09.08 |
| " Language Of Comments: Slovak |
" Language Of Comments: Slovak |
| |
|
|
|
| " Settings for folding long lines {{{ |
" Settings for folding long lines {{{ |
| :let g:fold_long_lines=300 |
:let g:fold_long_lines=300 |
| " }}} |
" }}} |
| |
" Settings for AutoLastMod {{{ |
| |
" Set this to 1 if you will automaticaly change date of modification of file. |
| |
:let g:autolastmod=1 |
| |
" Modification is made on line like this variable: |
| |
:let g:autolastmodtext="Last modified: " |
| |
" }}} |
| |
|
| " Automatically setting options in various files |
" Automatically setting options in various files |
| :set modeline |
:set modeline |
|
|
| """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" }}}2 |
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" }}}2 |
| " Function AutoLastMod() {{{2 |
" Function AutoLastMod() {{{2 |
| " funkcia zabezpeci automaticku zmenu datumu suborov *.html |
" funkcia zabezpeci automaticku zmenu datumu suborov *.html |
| " ak je napr. zec modeline nastavena premmenna autolastmod |
" ak je napr. cez modeline nastavena premmenna autolastmod |
| " na prislusnu hodnotu |
" na prislusnu hodnotu |
| " |
" |
| fun! AutoLastMod() |
fun! AutoLastMod() |
| :if exists("autolastmod") |
:if exists("g:autolastmod") |
| : if autolastmod < 0 |
: if g:autolastmod < 0 |
| : return 0; |
: return 0; |
| : elseif autolastmod == 1 |
: elseif g:autolastmod == 1 |
| : call LastMod("Last modified: ") |
: call LastMod(g:autolastmodtext) |
| : endif |
: endif |
| :endif |
:endif |
| endfun |
endfun |