Mercurial > vim
comparison src/ex_getln.c @ 10:4e2284e71352
updated for version 7.0002
author | vimboss |
---|---|
date | Thu, 24 Jun 2004 15:53:16 +0000 |
parents | 3fc0f57ecb91 |
children | 24d5189d3956 |
comparison
equal
deleted
inserted
replaced
9:4102fb4ea781 | 10:4e2284e71352 |
---|---|
5179 add_map((char_u *)"<buffer> <Tab> a<C-X><C-V>", NORMAL); | 5179 add_map((char_u *)"<buffer> <Tab> a<C-X><C-V>", NORMAL); |
5180 } | 5180 } |
5181 set_option_value((char_u *)"ft", 0L, (char_u *)"vim", OPT_LOCAL); | 5181 set_option_value((char_u *)"ft", 0L, (char_u *)"vim", OPT_LOCAL); |
5182 } | 5182 } |
5183 | 5183 |
5184 /* Reset 'textwidth' after setting 'filetype' (the Vim filetype plugin | |
5185 * sets 'textwidth' to 78). */ | |
5186 curbuf->b_p_tw = 0; | |
5187 | |
5184 /* Fill the buffer with the history. */ | 5188 /* Fill the buffer with the history. */ |
5185 init_history(); | 5189 init_history(); |
5186 if (hislen > 0) | 5190 if (hislen > 0) |
5187 { | 5191 { |
5188 i = hisidx[histtype]; | 5192 i = hisidx[histtype]; |