diff options
author | Björn Linse <bjorn.linse@gmail.com> | 2019-11-26 22:10:13 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-26 22:10:13 +0100 |
commit | 5f9209389b95c03f22c660e9f36d0158b0f664e3 (patch) | |
tree | e670fbeb5dd52a3841e82d1302689831b4ceb0e3 /test/functional/ui/mouse_spec.lua | |
parent | a40ae96a38f0e99947421f81511ad2f7c2d3fc2c (diff) | |
parent | 49a40f425d88cbbac09fdf442c22f725bffc2249 (diff) | |
download | rneovim-5f9209389b95c03f22c660e9f36d0158b0f664e3.tar.gz rneovim-5f9209389b95c03f22c660e9f36d0158b0f664e3.tar.bz2 rneovim-5f9209389b95c03f22c660e9f36d0158b0f664e3.zip |
Merge pull request #11445 from bfredl/fcslcs
options: make 'fillchars' and 'listchars' global-local instead of local-only
Diffstat (limited to 'test/functional/ui/mouse_spec.lua')
-rw-r--r-- | test/functional/ui/mouse_spec.lua | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/test/functional/ui/mouse_spec.lua b/test/functional/ui/mouse_spec.lua index 7840ba9167..d857b57a31 100644 --- a/test/functional/ui/mouse_spec.lua +++ b/test/functional/ui/mouse_spec.lua @@ -12,7 +12,10 @@ describe('ui/mouse/input', function() clear() meths.set_option('mouse', 'a') meths.set_option('list', true) - meths.set_option('listchars', 'eol:$') + -- NB: this is weird, but mostly irrelevant to the test + -- So I didn't bother to change it + command('set listchars=eol:$') + command('setl listchars=nbsp:x') screen = Screen.new(25, 5) screen:attach() screen:set_default_attr_ids({ @@ -812,7 +815,8 @@ describe('ui/mouse/input', function() feed_command('set concealcursor=ni') feed_command('set nowrap') - feed_command('set shiftwidth=2 tabstop=4 list listchars=tab:>-') + feed_command('set shiftwidth=2 tabstop=4 list') + feed_command('setl listchars=tab:>-') feed_command('syntax match NonText "\\*" conceal') feed_command('syntax match NonText "cats" conceal cchar=X') feed_command('syntax match NonText "x" conceal cchar=>') |