aboutsummaryrefslogtreecommitdiff
path: root/test/unit/buffer_spec.lua
diff options
context:
space:
mode:
authorbfredl <bjorn.linse@gmail.com>2022-08-20 00:05:32 +0200
committerGitHub <noreply@github.com>2022-08-20 00:05:32 +0200
commitebd57209018ed310836a8196ed4710e64a6d8ee5 (patch)
treeea1ec2a1816fb4dbbb034b4851c39eb389d9310b /test/unit/buffer_spec.lua
parentb2f979b30beac67906b2dd717fcb6a34f46f5e54 (diff)
parent6adc2ae7e0d86f7b2a4292a666eeaa50a1473915 (diff)
downloadrneovim-ebd57209018ed310836a8196ed4710e64a6d8ee5.tar.gz
rneovim-ebd57209018ed310836a8196ed4710e64a6d8ee5.tar.bz2
rneovim-ebd57209018ed310836a8196ed4710e64a6d8ee5.zip
Merge pull request #19841 from bfredl/drawstatus
refactor: move statusline code from buffer.c and [draw]screen.c to new file
Diffstat (limited to 'test/unit/buffer_spec.lua')
-rw-r--r--test/unit/buffer_spec.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/unit/buffer_spec.lua b/test/unit/buffer_spec.lua
index 204d713fb7..5dccc2f5a2 100644
--- a/test/unit/buffer_spec.lua
+++ b/test/unit/buffer_spec.lua
@@ -9,6 +9,7 @@ local NULL = helpers.NULL
local globals = helpers.cimport("./src/nvim/globals.h")
local buffer = helpers.cimport("./src/nvim/buffer.h")
+local stl = helpers.cimport("./src/nvim/statusline.h")
describe('buffer functions', function()
@@ -228,7 +229,7 @@ describe('buffer functions', function()
local fillchar = arg.fillchar or (' '):byte()
local maximum_cell_count = arg.maximum_cell_count or buffer_byte_size
- return buffer.build_stl_str_hl(globals.curwin,
+ return stl.build_stl_str_hl(globals.curwin,
output_buffer,
buffer_byte_size,
to_cstr(pat),