In the meantime i have my own workaround.

I guess at the time of filling this bugreport i didn't saw syntax
highlighting with default hardy-vim in udev-files.

i have rechecked today and when opening 
'/etc/udev/rules.d/70-persistent-net.rules' i see:
:set filetype? 
filetype=hog

I have written '~/.vim/after/ftdetect/my_filetype.vim':

    " udevrules
    autocmd BufNewFile,BufRead *udev/*.rules
                \ setlocal filetype=udevrules

    " udev permissions
    autocmd BufNewFile,BufRead *udev/*.permissions
                \ setlocal filetype=udevperm

to verify this i have used a modified /etc/vim/vimrc attached

** Attachment added: ".vimrc"
   http://launchpadlibrarian.net/19881768/.vimrc

** Changed in: vim (Ubuntu)
       Status: Incomplete => New

-- 
vim missing udev.vim
https://bugs.launchpad.net/bugs/229570
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to