mirror of
https://github.com/neovim/neovim.git
synced 2025-10-03 00:18:33 +00:00
vim-patch:7.4.898
Problem: The 'fixendofline' option is set on with ":edit".
Solution: Don't set the option when clearing a buffer. (Yasuhiro Matsumoto)
04dfd51229
This commit is contained in:
@@ -479,7 +479,6 @@ void buf_clear_file(buf_T *buf)
|
|||||||
buf->b_ml.ml_line_count = 1;
|
buf->b_ml.ml_line_count = 1;
|
||||||
unchanged(buf, TRUE);
|
unchanged(buf, TRUE);
|
||||||
buf->b_p_eol = TRUE;
|
buf->b_p_eol = TRUE;
|
||||||
buf->b_p_fixeol = true;
|
|
||||||
buf->b_start_eol = TRUE;
|
buf->b_start_eol = TRUE;
|
||||||
buf->b_p_bomb = FALSE;
|
buf->b_p_bomb = FALSE;
|
||||||
buf->b_start_bomb = FALSE;
|
buf->b_start_bomb = FALSE;
|
||||||
|
@@ -98,7 +98,7 @@ static int included_patches[] = {
|
|||||||
// 901,
|
// 901,
|
||||||
// 900 NA
|
// 900 NA
|
||||||
// 899 NA
|
// 899 NA
|
||||||
// 898,
|
898,
|
||||||
// 897,
|
// 897,
|
||||||
// 896,
|
// 896,
|
||||||
// 895,
|
// 895,
|
||||||
|
Reference in New Issue
Block a user