tag 503476 moreinfo unreproducible thanks On Sun, Oct 26, 2008 at 10:29:35AM -0200, ASD Consultoria wrote: > Error detected while processing /usr/share/vim/vimrc: > line 20: > E319: Sorry, the command is not available in this version: syntax on > Press ENTER or type command to continue
On Tue, Oct 28, 2008 at 11:25:18AM -0200, ASD Consultoria wrote: > > /usr/bin/md5sum /etc/vim/vimrc* > > 17f057776f704dedeadd2a5ce0d7dd62 /etc/vim/vimrc > 14b4c597d9914fef7f962f1a6111bd4e /etc/vim/vimrc.dpkg-old > 3b4112567ad92c78ccc16c670df381e9 /etc/vim/vimrc.tiny The above two quotes are conflicting. /usr/share/vim/vimrc is a symlink to /etc/vim/vimrc. The md5sum of /etc/vim/vimrc shows that it is the default one shipped in the vim-common package which does not actually have a "syntax on" command in it. > > /usr/sbin/update-alternatives --display vim > > vim - estado é auto > ligação atualmente aponta para /usr/bin/vim.gnome > /usr/bin/vim.tiny - prioridade 10 > /usr/bin/vim.gnome - prioridade 60 > 'Melhor' versão atual é /usr/bin/vim.gnome. As well, your /usr/bin/vim currently resolves to /usr/bin/vim.gnome which does have syntax support compiled in. This sounds like /usr/share/vim/vimrc has been changed to an actual file, replacing the symlink, on your computer, it enables syntax highlighting, and you happened to invoke /usr/bin/vim.tiny specifically (or via a bad shell alias) instead of just running vim. If that's not the case, then I'll need a reproducible set of steps to test what's wrong. -- James GPG Key: 1024D/61326D40 2003-09-02 James Vega <[EMAIL PROTECTED]>
signature.asc
Description: Digital signature