Dani wrote:
yo siempre usé este ficherito de configuración en el home del user: .vimrc
El día 17/04/06, *Raul* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> >
escribió:
Saludos,
Tengo un problema con vim, he creado el archivo
/etc/vim/vimrc.local, en
el que he configurado las opciones para el enumerar las lineas y para
colorear el "syntax". Lo hice añadiendo lo siguiente:
syntax on y set number (bueno tambien puse set background=dark). Y
funciona bien, pero cada vez que abro un archivo antes de
editarle, me
aparecen varios errores todos ellos el E169 (la ultima linea de
errores
apunta a vimrc.local donde esta escrito syntax on). El archivo
vimrc.local es mas o menos el que viene con el paquete.
Mire la documentación y encontré que tipo de error es, pero no
encontré
como solucionarlo si se puede. Si alguien puede orientarme un
poquito lo
agradecería.
Utilizo:
Debian Testing/Unstable
Vim 6.4.7
error:
vim -v
Error detected while processing
/usr/share/vim/vim64/syntax/syncolor.vim:
line 34:
E169: Command too recursive
...... (varias repeticiones)
line 81:
E169: Command too recursive
line 82:
E169: Command too recursive
E169: Command too recursive
Error detected while processing
/usr/share/vim/vim64/syntax/nosyntax.vim:
E169: Command too recursive
Error detected while processing
/usr/share/vim/vim64/syntax/synload.vim:
E169: Command too recursive
Error detected while processing
/usr/share/vim/vim64/syntax/syntax.vim:
E169: Command too recursive
Error detected while processing
/usr/share/vim/vim64/syntax/syncolor.vim:
line 34:
.... (varias repeticiones)
line 82:
E169: Command too recursive
Error detected while processing /etc/vim/vimrc.local:
line 31:
E169: Command too recursive
Error detected while processing
/usr/share/vim/vim64/syntax/syncolor.vim:
E169: Command too recursive
Error detected while processing /usr/share/vim/vim64/filetype.vim:
E169: Command too recursive
Error detected while processing /usr/share/vim/vim64/ftplugin.vim:
E169: Command too recursive
Error detected while processing /etc/vim/vimrc.local:
E169: Command too recursive
--
To UNSUBSCRIBE, email to
[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>
with a subject of "unsubscribe". Trouble? Contact
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
Como dices por arriba, utilizando .vimrc en la /home es lo común, pero
solo para el usuario predeterminado. Cuando se quiere afectar
"globalmente", la documentación recomienda hacer un archivo vimrc.local,
o al menos así yo lo entendí.
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]