You can install the syntax highligting manualy or with help of script
install.sh. If you want to install it manualy just continue reading this
document otherwise just start install.sh in terminal without any arguments.

There are two possible ways how install the vim syntax highliting scheme.
Local installation or system-wide installation. The actions you have to
perform are the same, the only difference is in paths where you make
changes. For local installation the path usually is ~/.vim and for
system-wide installation it usually is /usr/share/vim/vimfiles. In this
document this path will be refered to as $VIM.

1) Copying the syntax file

Under the $VIM directory create subdirectory syntax if it isn't there yet
and copy the file etpancfg.vim into this subdirectory


2) Making vim recognize the files

In the $VIM path open the file filetype.vim and search for the line
beginning with 'augroup filetypedetect'
then right below this line put followint two lines:

" Syntax for etpan config files
au BufNewFile,BufRead ~/.libetpan/config/{global,abook-config,account,color,discovery,mime-config,sender,smime-config,storage,vfolder}		setf etpancfg 

if you aren't able to find this line or the file $VIM/filetype.vim doesn't
exist open (or create respectively) and at the end of the file put
following 4 lines:

augroup filetypedetect
" Syntax for etpan config files
au BufNewFile,BufRead ~/.libetpan/config/{global,abook-config,account,color,discovery,mime-config,sender,smime-config,storage,vfolder}		setf etpancfg 
augroup END

Save the file and enjoy configuring etpan :)

All problems/questions report to Tomas Golembiovsky <nyoxi@seznam.cz>
