When invoking EDITOR, add some metadata to tell vim the textwidth is 75.
Signed-off-by: Bryan Larsen <[EMAIL PROTECTED]>
---
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 [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html