When using gvim (or vim) with etc-update syntax is not recognized with \._cfg[0-9]+.* files. Reproducible: Always Actual Results: No (correct) syntax highlight I did not succeed to find a way to patch it through gentoo-syntax because if i preferred "recursive" autocommand to be done (not forcing filetype as done in gentoo-syntax). Unfortunately the * rules matches all those ._cfg files hence patch attached below is against vim files. You could close this bug if you want ;D as directly patching vim files might not be a good idea, or if someone find a better/clever way to do so (i did not find how to remove the filetype).
Created attachment 166138 [details, diff] Run autocommand with corrected filename for ._cfg* files
Please fill in what version you are referring to in the Summary.
Sorry about gentoo-syntax version, it's 20080717-r1, And i'm currently using gvim 7.2 Patch attached has been done against /usr/share/vim/vim72/filetype.vim
The file filetype.vim is actually part of the vim-core packages and not gentoo-syntax. It would probably be better to fix this in vim-core and not gentoo-syntax so all users have it, not just those who have emerged gentoo-syntax, but if needed I can add the fix to gentoo-syntax. Note that the supplied patch is backwards (files were given to diff in reverse order).
I think the problem is fixed with the versions of vim currently in the tree. If not, please reopen the bug.