Main Page | Report this Page
Computers Forum Index  »  Computer - Editors  »  [vim] new: utility that auto-detects tabstop and...
Page 1 of 1    

[vim] new: utility that auto-detects tabstop and...

Author Message
Kaz Kylheku...
Posted: Sat Aug 22, 2009 4:58 pm
Guest
On 2009-08-22, Kaz Kylheku <kkylheku at (no spam) gmail.com> wrote:
Quote:
/*
* Program to detect the tabbing style of a text file, and report
* it as a Vim command to set up the tabstop, shiftwidth and expandtab
* parameters.

Patch: fix missing increment in smatch function.

--- v000/autotab.c 2009-08-22 09:46:32.000000000 -0700
+++ autotab.c 2009-08-22 09:50:04.000000000 -0700
at (no spam) at (no spam) -1,4 +1,5 at (no spam) at (no spam)
/*
+ * Autotab v001.
* Program to detect the tabbing style of a text file, and report
* it as a Vim command to set up the tabstop, shiftwidth and expandtab
* parameters.
at (no spam) at (no spam) -355,6 +356,7 at (no spam) at (no spam)
break;
}
bag = va_arg (vl, const char *);
+ str++;
}

va_end (vl);
 
 
Page 1 of 1    
All times are GMT
The time now is Tue Dec 15, 2009 9:38 am