Mercurial > vim
comparison src/structs.h @ 7664:1fded31d9e04 v7.4.1131
commit https://github.com/vim/vim/commit/b20e334859334be35de4b295023a2b49bdabbfa9
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Jan 18 23:29:01 2016 +0100
patch 7.4.1131
Problem: New lines in the viminfo file are dropped.
Solution: Copy lines starting with "|". Fix that when using :rviminfo in a
function global variables were restored as function-local
variables.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Mon, 18 Jan 2016 23:30:05 +0100 |
parents | 6ba7182fb7bd |
children | 61354fabf8a2 |
comparison
equal
deleted
inserted
replaced
7663:c4b2ec5485e5 | 7664:1fded31d9e04 |
---|---|
1006 char_u *vir_line; /* text of the current line */ | 1006 char_u *vir_line; /* text of the current line */ |
1007 FILE *vir_fd; /* file descriptor */ | 1007 FILE *vir_fd; /* file descriptor */ |
1008 #ifdef FEAT_MBYTE | 1008 #ifdef FEAT_MBYTE |
1009 vimconv_T vir_conv; /* encoding conversion */ | 1009 vimconv_T vir_conv; /* encoding conversion */ |
1010 #endif | 1010 #endif |
1011 garray_T vir_barlines; /* lines starting with | */ | |
1011 } vir_T; | 1012 } vir_T; |
1012 | 1013 |
1013 #define CONV_NONE 0 | 1014 #define CONV_NONE 0 |
1014 #define CONV_TO_UTF8 1 | 1015 #define CONV_TO_UTF8 1 |
1015 #define CONV_9_TO_UTF8 2 | 1016 #define CONV_9_TO_UTF8 2 |