aboutsummaryrefslogtreecommitdiff
path: root/test/functional/legacy/listchars_spec.lua
diff options
context:
space:
mode:
authorFelipe Morales <hel.sheep@gmail.com>2015-06-20 17:16:10 -0300
committerJustin M. Keyes <justinkz@gmail.com>2015-08-22 13:48:48 -0400
commitbe29de1fa2b2dde54f4e43bc12d8bb7a46845308 (patch)
treeb88e02308a4dbcc9fbef948935a33473da010fcc /test/functional/legacy/listchars_spec.lua
parent105a72eabc6f74195b6319471344148726683b9d (diff)
downloadrneovim-be29de1fa2b2dde54f4e43bc12d8bb7a46845308.tar.gz
rneovim-be29de1fa2b2dde54f4e43bc12d8bb7a46845308.tar.bz2
rneovim-be29de1fa2b2dde54f4e43bc12d8bb7a46845308.zip
defaults: set 'listchars' to "tab:> ,trail:-,nbsp:+". #2872
Re: https://github.com/neovim/neovim/issues/2676
Diffstat (limited to 'test/functional/legacy/listchars_spec.lua')
-rw-r--r--test/functional/legacy/listchars_spec.lua5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/functional/legacy/listchars_spec.lua b/test/functional/legacy/listchars_spec.lua
index e6c64daed7..89ed90178b 100644
--- a/test/functional/legacy/listchars_spec.lua
+++ b/test/functional/legacy/listchars_spec.lua
@@ -5,7 +5,10 @@ local feed, insert, source = helpers.feed, helpers.insert, helpers.source
local clear, execute, expect = helpers.clear, helpers.execute, helpers.expect
describe("'listchars'", function()
- before_each(clear)
+ before_each(function()
+ clear()
+ execute('set listchars&vi')
+ end)
it("works with 'list'", function()
source([[