diff options
author | Ciaran McCreesh <ciaranm@gentoo.org> | 2006-02-28 15:32:55 +0000 |
---|---|---|
committer | Ciaran McCreesh <ciaranm@gentoo.org> | 2006-02-28 15:32:55 +0000 |
commit | cf65dc7be308b8e29fe9b4fb2ddeca1f033d8857 (patch) | |
tree | 3e5b0eabced3043243e64b1675d2a68a5a3c6851 /app-vim/cream/files | |
parent | Version bump for bug 124364. (diff) | |
download | historical-cf65dc7be308b8e29fe9b4fb2ddeca1f033d8857.tar.gz historical-cf65dc7be308b8e29fe9b4fb2ddeca1f033d8857.tar.bz2 historical-cf65dc7be308b8e29fe9b4fb2ddeca1f033d8857.zip |
Improve EnhancedCommentify. Thanks to TGL in bug #124395.
Package-Manager: portage-2.1_pre5-r1
Diffstat (limited to 'app-vim/cream/files')
-rw-r--r-- | app-vim/cream/files/enhancedcommentify-2.1-extra-ft-support.patch | 13 | ||||
-rw-r--r-- | app-vim/cream/files/enhancedcommentify-2.1-gentooisms.patch | 23 |
2 files changed, 36 insertions, 0 deletions
diff --git a/app-vim/cream/files/enhancedcommentify-2.1-extra-ft-support.patch b/app-vim/cream/files/enhancedcommentify-2.1-extra-ft-support.patch new file mode 100644 index 000000000000..597518a6d547 --- /dev/null +++ b/app-vim/cream/files/enhancedcommentify-2.1-extra-ft-support.patch @@ -0,0 +1,13 @@ +--- plugin/EnhancedCommentify.vim.orig 2005-03-01 02:28:23.409962824 -0500 ++++ plugin/EnhancedCommentify.vim 2005-03-01 02:29:45.695453528 -0500 +@@ -740,7 +740,9 @@ + \ 'psf\|ptcap\|r\|radiance\|ratpoison\|readline\remind\|'. + \ 'ruby\|screen\|sed\|sm\|snnsnet\|snnspat\|snnsres\|spec\|'. + \ 'squid\|terminfo\|tidy\|tli\|tsscl\|vgrindefs\|vrml\|'. +- \ 'wget\|wml\|xf86conf\|xmath\)$' ++ \ 'wget\|wml\|xf86conf\|xmath\|fstab\|apache\|resolv\|sudoers\|'. ++ \ 'ntp\|mailcap\|ssh_config\|sshdconfig\|mplayerconf\|desktop\|'. ++ \ 'gkrellmrc\|pf\|ipfilter\|grub\|fluxbox\)$' + let b:ECcommentOpen = '#' + let b:ECcommentClose = '' + elseif fileType =~ 'gentoo' diff --git a/app-vim/cream/files/enhancedcommentify-2.1-gentooisms.patch b/app-vim/cream/files/enhancedcommentify-2.1-gentooisms.patch new file mode 100644 index 000000000000..9e45142ff8ae --- /dev/null +++ b/app-vim/cream/files/enhancedcommentify-2.1-gentooisms.patch @@ -0,0 +1,23 @@ +--- plugin/EnhancedCommentify.vim.orig 2005-01-27 00:20:00.049461056 -0500 ++++ plugin/EnhancedCommentify.vim 2005-01-27 00:17:57.617073608 -0500 +@@ -628,6 +628,10 @@ + " letter. + if match(synFiletype, '\l\+\u') == 0 + let ft = substitute(synFiletype, '^\(\l\+\)\u.*$', '\1', "") ++ " work-around for gentoo-syntax stuff ; won't work with the above ++ " case, since all the identifiers start with a capital 'G' ++ elseif synFiletype =~ "GentooPackage*" ++ let ft = "gentoo" + endif + + if ft == "" +@@ -739,6 +743,9 @@ + \ 'wget\|wml\|xf86conf\|xmath\)$' + let b:ECcommentOpen = '#' + let b:ECcommentClose = '' ++ elseif fileType =~ 'gentoo' ++ let b:ECcommentOpen = '#' ++ let b:ECcommentClose = '' + elseif fileType == 'webmacro' + let b:ECcommentOpen = '##' + let b:ECcommentClose = '' |