commit | f4b8e57ffd048f9ca46dd7618939ba7a1b2294ec | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Thu Jun 24 15:53:16 2004 +0000 |
committer | Bram Moolenaar <Bram@vim.org> | Thu Jun 24 15:53:16 2004 +0000 |
tree | 08865b59e356d861c0d1321e4adaef8385e53635 | |
parent | 69a7cb473ceae109b61fae9aa04ee0c29afba5d9 [diff] [blame] |
updated for version 7.0002
diff --git a/src/ex_getln.c b/src/ex_getln.c index 3c24281..f2e7f8c 100644 --- a/src/ex_getln.c +++ b/src/ex_getln.c
@@ -5181,6 +5181,10 @@ set_option_value((char_u *)"ft", 0L, (char_u *)"vim", OPT_LOCAL); } + /* Reset 'textwidth' after setting 'filetype' (the Vim filetype plugin + * sets 'textwidth' to 78). */ + curbuf->b_p_tw = 0; + /* Fill the buffer with the history. */ init_history(); if (hislen > 0)