Bug#369119: E484: Can't open file /usr/share/vim/syntax/syntax.vim

Eric Christopherson echristopherson at gmail.com
Sat May 27 16:53:34 UTC 2006


Package: vim
Version: 1:7.0-017+4
Severity: normal

Since upgrading to vim 7.0, vim is unable to find its syntax.vim file. When I type :syn on, it gives the error "E484: Can't open file /usr/share/vim/syntax/syntax.vim". Using ls, I verified that /usr/share/vim/syntax/syntax.vim doesn't exist, although I notice that there is /usr/share/vim/vim70/syntax/syntax.vim. I tried linking /usr/share/vim/vim70/syntax to /usr/share/vim/syntax, but that gave me a lot more errors when I tried :syn on:

Error detected while processing /usr/share/vim/vim70/syntax/synload.vim:
line   57:
E580: :endif without :if:   endif
line   58:
E193: :endfunction not inside a function
Error detected while processing function <SNR>3_SynSet:
line   22:
E171: Missing :endif
Error detected while processing /usr/share/vim/vim70/syntax/syntax.vim:
line   42:
E216: No such group or event: filetypedetect BufRead


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-celeron
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages vim depends on:
ii  libc6                        2.3.6-9     GNU C Library: Shared libraries
ii  libgpmg1                     1.19.6-22   General Purpose Mouse - shared lib
ii  libncurses5                  5.5-2       Shared libraries for terminal hand
ii  vim-common                   1:7.0-017+4 Vi IMproved - Common files
ii  vim-runtime                  1:7.0-017+4 Vi IMproved - Runtime files

vim recommends no packages.

-- no debconf information




More information about the pkg-vim-maintainers mailing list