aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc/options.txt
diff options
context:
space:
mode:
authorJames McCoy <jamessan@jamessan.com>2017-12-17 20:15:12 -0500
committerGitHub <noreply@github.com>2017-12-17 20:15:12 -0500
commite6f8b105b00f706ddb8b790a24e37d50711d8dcb (patch)
treeb3208fd9191d6a6c0d257b39ff3a6880ec12f804 /runtime/doc/options.txt
parentcca6d4b2674304d544b3880a616fd2ca7df2b891 (diff)
parentdb0685a663a7d86d960f22e18f4e8e5041f80833 (diff)
downloadrneovim-e6f8b105b00f706ddb8b790a24e37d50711d8dcb.tar.gz
rneovim-e6f8b105b00f706ddb8b790a24e37d50711d8dcb.tar.bz2
rneovim-e6f8b105b00f706ddb8b790a24e37d50711d8dcb.zip
Merge pull request #7736 from jamessan/vim-8.0.0420
[RFC] vim-patch:8.0.0420: text garbled when the system encoding differs from 'encoding'
Diffstat (limited to 'runtime/doc/options.txt')
-rw-r--r--runtime/doc/options.txt17
1 files changed, 17 insertions, 0 deletions
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt
index d3072d83e2..f70ec32bd8 100644
--- a/runtime/doc/options.txt
+++ b/runtime/doc/options.txt
@@ -3809,6 +3809,23 @@ A jump table for the options with a short description can be found at |Q_op|.
This option cannot be set from a |modeline| or in the |sandbox|, for
security reasons.
+ *'makeencoding'* *'menc'*
+'makeencoding' 'menc' string (default "")
+ global or local to buffer |global-local|
+ {only available when compiled with the |+multi_byte|
+ feature}
+ {not in Vi}
+ Encoding used for reading the output of external commands. When empty,
+ encoding is not converted.
+ This is used for `:make`, `:lmake`, `:grep`, `:lgrep`, `:grepadd`,
+ `:lgrepadd`, `:cfile`, `:cgetfile`, `:caddfile`, `:lfile`, `:lgetfile`,
+ and `:laddfile`.
+
+ This would be mostly useful when you use MS-Windows. If |+iconv| is
+ enabled and GNU libiconv is used, setting 'makeencoding' to "char" has
+ the same effect as setting to the system locale encoding. Example: >
+ :set makeencoding=char " system locale is used
+<
*'makeprg'* *'mp'*
'makeprg' 'mp' string (default "make")
global or local to buffer |global-local|