diff options
author | Bram Moolenaar <Bram@vim.org> | 2004-06-24 15:53:16 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2004-06-24 15:53:16 +0000 |
commit | f4b8e57ffd048f9ca46dd7618939ba7a1b2294ec (patch) | |
tree | 08865b59e356d861c0d1321e4adaef8385e53635 /src/ex_getln.c | |
parent | 69a7cb473ceae109b61fae9aa04ee0c29afba5d9 (diff) | |
download | vim-git-f4b8e57ffd048f9ca46dd7618939ba7a1b2294ec.tar.gz |
updated for version 7.0002
Diffstat (limited to 'src/ex_getln.c')
-rw-r--r-- | src/ex_getln.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ex_getln.c b/src/ex_getln.c index 3c242816b..f2e7f8cc6 100644 --- a/src/ex_getln.c +++ b/src/ex_getln.c @@ -5181,6 +5181,10 @@ ex_window() 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) |