diff options
author | Björn Linse <bjorn.linse@gmail.com> | 2018-09-28 14:19:37 +0200 |
---|---|---|
committer | Björn Linse <bjorn.linse@gmail.com> | 2018-10-01 21:24:15 +0200 |
commit | 43823acae279a09e4fb51407da86340a10714d38 (patch) | |
tree | a8dabd2551878e69fd4b4416a7a349e47336bb1e /test/functional/ui/cmdline_spec.lua | |
parent | b98af0126051b2e010da083e36b4e94f3d15dad0 (diff) | |
download | rneovim-43823acae279a09e4fb51407da86340a10714d38.tar.gz rneovim-43823acae279a09e4fb51407da86340a10714d38.tar.bz2 rneovim-43823acae279a09e4fb51407da86340a10714d38.zip |
ui: rename ext_newgrid to ext_linegrid
Diffstat (limited to 'test/functional/ui/cmdline_spec.lua')
-rw-r--r-- | test/functional/ui/cmdline_spec.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/functional/ui/cmdline_spec.lua b/test/functional/ui/cmdline_spec.lua index d39b24a00f..af26a6d88f 100644 --- a/test/functional/ui/cmdline_spec.lua +++ b/test/functional/ui/cmdline_spec.lua @@ -4,13 +4,13 @@ local clear, feed = helpers.clear, helpers.feed local source = helpers.source local command = helpers.command -local function test_cmdline(newgrid) +local function test_cmdline(linegrid) local screen before_each(function() clear() screen = Screen.new(25, 5) - screen:attach({rgb=true, ext_cmdline=true, ext_newgrid=newgrid}) + screen:attach({rgb=true, ext_cmdline=true, ext_linegrid=linegrid}) screen:set_default_attr_ids({ [1] = {bold = true, foreground = Screen.colors.Blue1}, [2] = {reverse = true}, @@ -608,7 +608,7 @@ local function test_cmdline(newgrid) end) end --- the representation of cmdline and cmdline_block contents changed with ext_newgrid +-- the representation of cmdline and cmdline_block contents changed with ext_linegrid -- (which uses indexed highlights) so make sure to test both describe('ui/ext_cmdline', function() test_cmdline(true) end) describe('ui/ext_cmdline (legacy highlights)', function() test_cmdline(false) end) |