summaryrefslogtreecommitdiff
path: root/src/option.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-03-05 17:43:31 +0100
committerBram Moolenaar <Bram@vim.org>2017-03-05 17:43:31 +0100
commit2c7292dc5bbf155fe2192d417363b8c085759cad (patch)
treef0bd3af6f22baaf5453865aa9849194725edaab1 /src/option.h
parent214641f77df6f318a4b3a0b09723c19859a103f4 (diff)
downloadvim-git-2c7292dc5bbf155fe2192d417363b8c085759cad.tar.gz
patch 8.0.0420: text garbled when the system encoding differs from 'encoding'v8.0.0420
Problem: When running :make the output may be in the system encoding, different from 'encoding'. Solution: Add the 'makeencoding' option. (Ken Takata)
Diffstat (limited to 'src/option.h')
-rw-r--r--src/option.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/option.h b/src/option.h
index 62e66cd3d..2c6aeef03 100644
--- a/src/option.h
+++ b/src/option.h
@@ -630,6 +630,9 @@ EXTERN char_u *p_luadll; /* 'luadll' */
EXTERN int p_macatsui; /* 'macatsui' */
#endif
EXTERN int p_magic; /* 'magic' */
+#ifdef FEAT_MBYTE
+EXTERN char_u *p_menc; /* 'makeencoding' */
+#endif
#ifdef FEAT_QUICKFIX
EXTERN char_u *p_mef; /* 'makeef' */
EXTERN char_u *p_mp; /* 'makeprg' */
@@ -1065,6 +1068,9 @@ enum
, BV_LISP
, BV_LW
#endif
+#ifdef FEAT_MBYTE
+ , BV_MENC
+#endif
, BV_MA
, BV_ML
, BV_MOD