diff options
author | James McCoy <jamessan@jamessan.com> | 2017-12-16 21:50:20 -0500 |
---|---|---|
committer | James McCoy <jamessan@jamessan.com> | 2017-12-17 11:20:28 -0500 |
commit | c162bc629440afaf8910f1a29f1dfdb03f898101 (patch) | |
tree | 2233cf781d1c08795755eb8d04bd9732d158ba5b /runtime/doc/options.txt | |
parent | be53c209c0e0ccff0053fac82f2d8e1c9a40427f (diff) | |
download | rneovim-c162bc629440afaf8910f1a29f1dfdb03f898101.tar.gz rneovim-c162bc629440afaf8910f1a29f1dfdb03f898101.tar.bz2 rneovim-c162bc629440afaf8910f1a29f1dfdb03f898101.zip |
vim-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)
https://github.com/vim/vim/commit/2c7292dc5bbf155fe2192d417363b8c085759cad
Diffstat (limited to 'runtime/doc/options.txt')
-rw-r--r-- | runtime/doc/options.txt | 17 |
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| |