aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorlonerover <pathfinder1644@yahoo.com>2017-01-04 12:50:50 +0800
committerJames McCoy <jamessan@jamessan.com>2017-02-09 22:14:04 -0500
commitbec7e47938e203a0dd49920f328134fa943d6733 (patch)
treefd6a72b7cc0323cabfb26a779f36a9bb7f984c59 /src
parent6f4a963e0eeae19aed1e58a80afc02cba1704808 (diff)
downloadrneovim-bec7e47938e203a0dd49920f328134fa943d6733.tar.gz
rneovim-bec7e47938e203a0dd49920f328134fa943d6733.tar.bz2
rneovim-bec7e47938e203a0dd49920f328134fa943d6733.zip
vim-patch:7.4.2086
Problem: Using the system default encoding makes tests unpredictable. Solution: Always use utf-8 or latin1 in the new style tests. Remove setting encoding and scriptencoding where it is not needed. https://github.com/vim/vim/commit/ac105ed3c420660ddbddc501c97875c48220817e
Diffstat (limited to 'src')
-rw-r--r--src/nvim/testdir/test_digraph.vim3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/nvim/testdir/test_digraph.vim b/src/nvim/testdir/test_digraph.vim
index 60ae1fd3f4..12cda4d461 100644
--- a/src/nvim/testdir/test_digraph.vim
+++ b/src/nvim/testdir/test_digraph.vim
@@ -4,9 +4,6 @@ if !has("digraphs") || !has("multi_byte")
finish
endif
-set enc=utf-8
-scriptencoding utf-8
-
func! Put_Dig(chars)
exe "norm! o\<c-k>".a:chars
endfu