From b1636f64a866b4c45d9ae076c3eea01f3c6d91d8 Mon Sep 17 00:00:00 2001 From: "Stefan.Liebl" Date: Tue, 2 Feb 2010 15:06:52 +0000 Subject: [PATCH] + FindUglyC git-svn-id: https://vimsuite.svn.sourceforge.net/svnroot/vimsuite/trunk@187 eb2d0018-73a3-4aeb-bfe9-1def61c9ec69 --- vimfiles.stefan/plugin/vimsuite.vim | 66 +++++++++++++++++++++++++++++ 1 file changed, 66 insertions(+) diff --git a/vimfiles.stefan/plugin/vimsuite.vim b/vimfiles.stefan/plugin/vimsuite.vim index 77291bb..c9ac41d 100644 --- a/vimfiles.stefan/plugin/vimsuite.vim +++ b/vimfiles.stefan/plugin/vimsuite.vim @@ -809,7 +809,73 @@ endfunction command SynaxShowGroup execute('echo synIDattr(synID(line("."), col("."), 1), "name")') +" ---------------- +" Find Ugly C Code +" ---------------- + +"function s:SingleChar(x, ...) +" if a:0 > 0 +" let a = a:1 +" else +" let a = a:x +" endif +" if a:0 > 1 +" let b = a:2 +" else +" let b = a:x +" endif +" let string = '[' . a . ']\@