diff options
author | Matthieu Coudron <mattator@gmail.com> | 2019-12-20 17:25:43 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-20 17:25:43 +0100 |
commit | 416de695f9e71e494e3b6e4187e850e560abf7af (patch) | |
tree | fab49208afdef97f634baf9cdfcd2b762784f6df /src/nvim/eval.c | |
parent | 026ba804d173c41ab99ee270c93f7975c1d6d713 (diff) | |
parent | a115f2314387706242ce5b9e5b2d7090a902d9cb (diff) | |
download | rneovim-416de695f9e71e494e3b6e4187e850e560abf7af.tar.gz rneovim-416de695f9e71e494e3b6e4187e850e560abf7af.tar.bz2 rneovim-416de695f9e71e494e3b6e4187e850e560abf7af.zip |
Merge pull request #11577 from janlazo/vim-8.2.0019
vim-patch:8.2.{19,24}
Diffstat (limited to 'src/nvim/eval.c')
-rw-r--r-- | src/nvim/eval.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/eval.c b/src/nvim/eval.c index 902d68dcf9..04899f2c99 100644 --- a/src/nvim/eval.c +++ b/src/nvim/eval.c @@ -9922,6 +9922,7 @@ static dict_T *get_buffer_info(buf_T *buf) buf->b_ffname != NULL ? (const char *)buf->b_ffname : ""); tv_dict_add_nr(dict, S_LEN("lnum"), buf == curbuf ? curwin->w_cursor.lnum : buflist_findlnum(buf)); + tv_dict_add_nr(dict, S_LEN("linecount"), buf->b_ml.ml_line_count); tv_dict_add_nr(dict, S_LEN("loaded"), buf->b_ml.ml_mfp != NULL); tv_dict_add_nr(dict, S_LEN("listed"), buf->b_p_bl); tv_dict_add_nr(dict, S_LEN("changed"), bufIsChanged(buf)); |