Platon Technologies
neprihlásený Prihlásiť Registrácia
SlovakEnglish
open source software development oslavujeme 10 rokov vývoja otvoreného softvéru! Piatok, 23. október 2026

Rozdiely pre vimconfig/vimrc medzi verziami 1.18 a 1.19

verzia 1.18, 2001/11/09 23:37:07 verzia 1.19, 2001/11/21 23:29:59
Riadok 3 
Riadok 3 
 " Maintainer:   Lubomir Host <host8@kepler.fmph.uniba.sk>  " Maintainer:   Lubomir Host <host8@kepler.fmph.uniba.sk>
 " Bugs Reports: Lubomir Host <host8@kepler.fmph.uniba.sk>  " Bugs Reports: Lubomir Host <host8@kepler.fmph.uniba.sk>
 " License:              GNU GPL  " License:              GNU GPL
 " Last Change:  2001 Nov 10 00:33:23  " Last Change:  2001 Nov 21 10:11:46 PM
 " Version:              01.09.08  " Version:              01.09.08
 " Language Of Comments: English  " Language Of Comments: English
   
Riadok 175  endif
Riadok 175  endif
 unlet s:line1  unlet s:line1
 " }}}  " }}}
 " Filetypes settings {{{1  " Filetypes settings {{{1
   " Function SetsByFiletype() is defined as autocommand for each file and it is
   " always called when new file is read or opened. There are settings which will
   " be sets according to specific file type. Try to avoid of use 'set' command
   " here. Use 'setlocal' command instead.
   fun! SetsByFiletype()
   " Mail {{{2
 :if &filetype == "mail"  :if &filetype == "mail"
 :       setlocal textwidth=72  :       setlocal textwidth=72
 :       setlocal noautoindent  :       setlocal noautoindent
 :       map  gqap  :       map  gqap
 :       imap  gqapi  :       imap  gqapi
 :endif  :endif
   " }}}2
   " Perl {{{2
   :if &filetype == "perl"
   :       if executable("perltidy")
   :               setlocal equalprg=perltidy\ -q\ -se\ -fnl
   :       endif
   :endif
   " }}}2
   endfun
 "################################################################# }}}1  "################################################################# }}}1
 " Autocomands {{{1  " Autocomands {{{1
 " Startup autocommands {{{2  " Startup autocommands {{{2
Riadok 200  unlet s:line1
Riadok 215  unlet s:line1
 " Autocommands for * (all files) {{{2  " Autocommands for * (all files) {{{2
 :augroup AllFiles  :augroup AllFiles
 :  autocmd!  :  autocmd!
   :       autocmd BufRead,BufNewFile  *   call SetsByFiletype()
 :augroup END  :augroup END
 """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" }}}2  """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" }}}2
 " Autocomands for ~/.vimrc {{{2  " Autocomands for ~/.vimrc {{{2
Riadok 555  endfun
Riadok 571  endfun
 :endfun  :endfun
 """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" }}}2  """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" }}}2
 " Function Indent() {{{2  " Function Indent() {{{2
 "  " Indents source code.
 fun! Indent()  fun! Indent()
   " If there is set equalprg to source indenting (ie. perltidy for perl sources)
   " we have not to executes "'f" at the end, else we will got "Mark not set"
   " error message.
   :if &equalprg == ""
 :       exec "normal mfggvG$='f"  :       exec "normal mfggvG$='f"
   :else
   :       exec "normal mfggvG$="
   :endif
 endfun  endfun
 """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" }}}2  """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" }}}2
 " Function UnquoteMailBody() {{{2  " Function UnquoteMailBody() {{{2

Legend:
Odstranené z verzie1.18  
zmenené riadky
  Pridané vo verzii1.19

Platon Group <platon@platon.sk> http://platon.sk/
Copyright © 2002-2006 Platon Group
Stránka používa redakčný systém Metafox
Na začiatok