Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 166138 Details for
Bug 238420
app-vim/gentoo-syntax-20080717-r1 - filetype.vim patch to recognize ._cfg\d+.*
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Run autocommand with corrected filename for ._cfg* files
filetype.patch (text/plain), 632 bytes, created by
Marc Finet
on 2008-09-22 20:45:40 UTC
(
hide
)
Description:
Run autocommand with corrected filename for ._cfg* files
Filename:
MIME Type:
Creator:
Marc Finet
Created:
2008-09-22 20:45:40 UTC
Size:
632 bytes
patch
obsolete
>--- filetype.vim 2008-09-22 22:40:53.000000000 +0200 >+++ filetype.vim.orig 2008-09-22 22:40:44.000000000 +0200 >@@ -30,11 +30,6 @@ > \ if expand("<afile>:t") != "configure.in" | > \ exe "doau filetypedetect BufRead " . fnameescape(expand("<afile>:r")) | > \ endif >-au BufRead ._cfg[0-9]\+_* >- \ let s:name = expand("<afile>") | >- \ let s:real = substitute(s:name, '._cfg[0-9]\+_', '', '') | >- \ exe "doau filetypedetect BufRead " . fnameescape(expand(s:real)) | >- \ unlet! s:name s:real > elseif &verbose > 0 > echomsg "Warning: some filetypes will not be recognized because this version of Vim does not have fnameescape()" > endif
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 238420
: 166138