Bug#408984: vim-runtime: Does not set 'omnifunc' for *.css files
Teemu Likonen
tlikonen at iki.fi
Mon Jan 29 18:24:39 UTC 2007
Package: vim-runtime
Version: 1:7.0-122+1
Severity: normal
Tags: patch
I think that when *.css file is loaded the variable 'omnifunc' should be
set so that omni completion would be automatically enabled. I suggest
adding the line
setlocal omnifunc=csscomplete#CompleteCSS
to file /usr/share/vim/vim70/ftplugin/css.vim Currently I have it in my
personal ~/.vim/ftplugin/css.vim .
When loading, for example, *.html files the 'omnifunc' variable is set
correctly and completion of html tags works automatically.
-- System Information:
Debian Release: 4.0
APT prefers testing
APT policy: (900, 'testing')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/dash
Kernel: Linux 2.6.18-3-k7
Locale: LANG=fi_FI.UTF-8, LC_CTYPE=fi_FI.UTF-8 (charmap=UTF-8)
vim-runtime depends on no packages.
Versions of packages vim-runtime recommends:
ii vim-gtk 1:7.0-122+1 Vi IMproved - enhanced vi editor -
ii vim-tiny 1:7.0-122+1 Vi IMproved - enhanced vi editor -
-- no debconf information
More information about the pkg-vim-maintainers
mailing list