| Coloreo de Syntax's highlighting
|
|---|
| Para activar el indentado hace falta que existan los archivos de definicion
en el lugar adecuado pero ademas hay que activarla tecleando el comando
syntax enable, este comando puede existir en el archivo .vimrc para
que se autojecute.
| To activate the identation the specification file must reside in the
correct directory, but also is necesary to activate it typing the syntax enable
command, this command should reside in the .vimrc file to be autoexecuted.
|
|
syntax enable
|
| Ademas es necesario identificar el tipo de archivo (las extensiones) en el archivo
/usr/share/vim/vim61/filetype.vim, verifica si ya existen las definiciones, en caso contrario
agregalas.
| Yoou also need to identify the file type (the extension) in the file
/usr/share/vim/vim61/filetype.vim, verify if already there, if not, add them.
|
" Php3
au BufNewFile,BufRead *.php,*.php3 setf php
" Smarty
au BufNewFile,BufRead *.tpl setf smarty
" Informix 4GL (source - canonical, include file, I4GL+M4 preproc.)
au BufNewFile,BufRead *.4gl,*.4gh,*.m4gl,*.err setf fgl
" Informix Forms File
au BufNewFile,BufRead *.per setf per
|
| Estos archivos deben de ir en el sub-directorio 'syntax' de la distribucion,
en el caso de linux seria en /usr/share/vim/vim61/syntax/.
| This files must be in the subdirectpry 'syntax' of the distribution, for limus
the direcory is /usr/share/vin/vim61/syntax/.
|
| El archivo de x4GL (incluyendo Aubit4GL) ya viene
en la distribucion, solo lo modifique para dejarlo sin que valide
mayusculas/minusculas.
| The file for x4GL (including Aubit4GL) is included in
the vim package, I just mofied to always ignore the case.
|
| El archivo de formas .per lo tome del sitio de 4Js y tambien lo
modifique para que ignores mayusculas/monusculas y para que acepte el '_'
como parte del noombre de los campos en la formas.
| I got the file for the .per Forms from the 4js site, the modification
were for also ignoring the case and allow '_' in the field name.
|
http://www.lacorona.com.mx/fortiz/vim/syntax/fgl.vim # syntax for x4GL source file
http://www.lacorona.com.mx/fortiz/vim/syntax/per.vim # syntax for x4GL FORMS source file
|
| Aqui esta el archivo para el lenguaje PHP, este lo tengo sin cambios. Solo
lo agrego aqui para tener todos en un solo lugar.
| Here is the file for PHP code, this has no change. I put it here just
for keeping everything together.
|
http://www.lacorona.com.mx/fortiz/vim/syntax/php.vim # syntax for PHP source file
http://www.lacorona.com.mx/fortiz/vim/syntax/smarty.vim # syntax for Smarty templates
| Indent
|
|---|
| Para activar el indentado hace falta que existan los archivos de definicion
en el lugar adecuado pero ademas hay que activarla tecleando el comando
filetype indent on, este comando puede existir en el archivo .vimrc para
que se autojecute.
| To active the identation the files must reside in the proper place but
also you need to active them with teh command filetype indent on, this
command should reside in the .vimrc to be autoexecuted.
| |
filetype indent on
| | Estos archivos deben de ir en el directorio 'indent' de la distribucion, en
el caso de linux seria en /usr/share/vim/vim61/indent/.
| This files must reside in the subdirectory 'indent' of the distribution,
in linux case is in /usr/share/vim/vim61/indent/.
| | El archivo de x4GL lo cree en base al archivo
sh.vim, y como es la primera
version tendra varias cosas que corregir o mejorar. Adradecere sus comentario.
| I made the file for x4GL source taking sh.viom as an example, and becasse
is the first version of mu first file there'd many thing to fix or enhace. Please
mail me your comnents.
|
http://www.lacorona.com.mx/fortiz/vim/indent/fgl.vim # Ident for x4GL source file
| | Aqui esta el archivo para el lenguaje PHP, este tambien lo tengo sin cambios.
Solo lo agrego aqui para tener todos en un solo lugar.
| Here is the file for PHP code, this has no change. I put it here just
for keeping everything together.
|
http://www.lacorona.com.mx/fortiz/vim/indent/php.vim # Ident for PHP source file
| |