When invoking EDITOR, add some metadata to tell vim the textwidth is 75. Signed-off-by: Bryan Larsen <bryan.larsen@gmail.com> --- stgit/stack.py | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/stgit/stack.py b/stgit/stack.py --- a/stgit/stack.py +++ b/stgit/stack.py @@ -66,6 +66,8 @@ def edit_file(string, comment): % __comment_prefix print >> f, __comment_prefix, \ 'Trailing empty lines will be automatically removed.' + print >> f, __comment_prefix, \ + 'vim: textwidth=75' f.close() # the editor - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.htmlReceived on Fri Jul 22 06:23:20 2005
This archive was generated by hypermail 2.1.8 : 2005-07-22 06:23:21 EST