Mercurial > vim
diff src/structs.h @ 11063:e71d3bdf3bc3 v8.0.0420
patch 8.0.0420: text garbled when the system encoding differs from 'encoding'
commit https://github.com/vim/vim/commit/2c7292dc5bbf155fe2192d417363b8c085759cad
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Mar 5 17:43:31 2017 +0100
patch 8.0.0420: text garbled when the system encoding differs from 'encoding'
Problem: When running :make the output may be in the system encoding,
different from 'encoding'.
Solution: Add the 'makeencoding' option. (Ken Takata)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 05 Mar 2017 17:45:05 +0100 |
parents | 835604f3c37a |
children | 242e0617aa51 |
line wrap: on
line diff
--- a/src/structs.h +++ b/src/structs.h @@ -2133,6 +2133,9 @@ struct file_buffer #ifdef FEAT_LISP int b_p_lisp; /* 'lisp' */ #endif +#ifdef FEAT_MBYTE + char_u *b_p_menc; /* 'makeencoding' */ +#endif char_u *b_p_mps; /* 'matchpairs' */ int b_p_ml; /* 'modeline' */ int b_p_ml_nobin; /* b_p_ml saved for binary mode */