aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/shared.lua
diff options
context:
space:
mode:
authorBjörn Linse <bjorn.linse@gmail.com>2020-01-19 08:48:35 +0100
committerBjörn Linse <bjorn.linse@gmail.com>2020-01-19 16:07:52 +0100
commitb3974e4437a0119ca81c926bd2b6549aca509c13 (patch)
tree92164003ebed061067f41b6fbb2e098f4e5c6957 /runtime/lua/vim/shared.lua
parentfd89ad7bfb1534c42c99b36ca025ea42ccbee7e1 (diff)
downloadrneovim-b3974e4437a0119ca81c926bd2b6549aca509c13.tar.gz
rneovim-b3974e4437a0119ca81c926bd2b6549aca509c13.tar.bz2
rneovim-b3974e4437a0119ca81c926bd2b6549aca509c13.zip
restore old 'termencoding' behavior
Partially reverts #11647. Replaces #11662 The old implementation was removed without clear motivation. The "term option" hackaround added in its place is neither shorter nor simpler. The new behavior breaks even init.vim that expliticly check against it: if exists('&termencoding') set termencoding=utf-8 endif There was nothing wrong with the 0.4.x behavior. Empty &tenc has indicated that the &enc value should be used for all the history of Nvim. Ignoring setting the option is the expected behavior for Vim versions that does not support the option (and Nvim is such a version) 'tenc' was also irrelevant to the Test_unicode python3 test. The reason this has to be disabled is that neovim can't change internal 'encoding'
Diffstat (limited to 'runtime/lua/vim/shared.lua')
0 files changed, 0 insertions, 0 deletions