mirror of
https://github.com/neovim/neovim.git
synced 2026-04-22 15:25:30 +00:00
docs: misc #35459
This commit is contained in:
@@ -60,7 +60,7 @@ before_each(function()
|
||||
end)
|
||||
end)
|
||||
|
||||
describe('lua buffer event callbacks: on_lines', function()
|
||||
describe('lua: nvim_buf_attach on_lines', function()
|
||||
local function setup_eventcheck(verify, utf_sizes, lines)
|
||||
local lastsize
|
||||
api.nvim_buf_set_lines(0, 0, -1, true, lines)
|
||||
|
||||
@@ -30,7 +30,7 @@ describe('vim.pos', function()
|
||||
eq(buf, pos.buf)
|
||||
end)
|
||||
|
||||
it('supports comparisons by overloaded mathmatical operators', function()
|
||||
it('comparisons by overloaded operators', function()
|
||||
eq(
|
||||
true,
|
||||
exec_lua(function()
|
||||
@@ -69,7 +69,7 @@ describe('vim.pos', function()
|
||||
)
|
||||
end)
|
||||
|
||||
it('supports conversion between vim.Pos and lsp.Position', function()
|
||||
it('converts between vim.Pos and lsp.Position', function()
|
||||
local buf = exec_lua(function()
|
||||
return vim.api.nvim_get_current_buf()
|
||||
end)
|
||||
|
||||
@@ -31,7 +31,7 @@ describe('vim.range', function()
|
||||
eq(buf, range.end_.buf)
|
||||
end)
|
||||
|
||||
it('create a range from two positions when optional fields are not matched', function()
|
||||
it('creates a range from two positions when optional fields are not matched', function()
|
||||
local range = exec_lua(function()
|
||||
return vim.range(vim.pos(3, 5), vim.pos(4, 6))
|
||||
end)
|
||||
@@ -62,7 +62,7 @@ describe('vim.range', function()
|
||||
eq(success, false)
|
||||
end)
|
||||
|
||||
it('supports conversion between vim.Range and lsp.Range', function()
|
||||
it('converts between vim.Range and lsp.Range', function()
|
||||
local buf = exec_lua(function()
|
||||
return vim.api.nvim_get_current_buf()
|
||||
end)
|
||||
|
||||
Reference in New Issue
Block a user