mirror of
https://github.com/neovim/neovim.git
synced 2025-12-16 03:15:39 +00:00
doc: fix typos [ci skip] #11787
This commit is contained in:
@@ -18,7 +18,7 @@ describe('CTRL-W CTRL-I', function()
|
||||
start found wrong line
|
||||
test text]])
|
||||
|
||||
-- Search for the second occurence of start and append to register
|
||||
-- Search for the second occurrence of start and append to register
|
||||
feed_command('/start')
|
||||
feed('2[<C-i>')
|
||||
feed_command('yank A')
|
||||
|
||||
@@ -360,7 +360,7 @@ describe('eval', function()
|
||||
abcD3b]])
|
||||
|
||||
-- From now on we delete the buffer contents after each expect() to make
|
||||
-- the next expect() easier to write. This is neccessary because null
|
||||
-- the next expect() easier to write. This is necessary because null
|
||||
-- bytes on a line by itself don't play well together with the dedent
|
||||
-- function used in expect().
|
||||
command('%delete')
|
||||
@@ -416,7 +416,7 @@ describe('eval', function()
|
||||
' abcD3b50')
|
||||
end)
|
||||
|
||||
-- The tests for setting lists with NLs are split into seperate it() blocks
|
||||
-- The tests for setting lists with NLs are split into separate it() blocks
|
||||
-- to make the expect() calls easier to write. Otherwise the null byte can
|
||||
-- make trouble on a line on its own.
|
||||
it('setting lists with NLs with setreg(), part 1', function()
|
||||
|
||||
@@ -98,7 +98,7 @@ describe('lua: buffer event callbacks', function()
|
||||
command('undo')
|
||||
|
||||
-- plugins can opt in to receive changedtick events, or choose
|
||||
-- to only recieve actual changes.
|
||||
-- to only receive actual changes.
|
||||
check_events({{ "test1", "lines", 1, tick, 3, 4, 5, 13 },
|
||||
{ "test2", "lines", 1, tick, 3, 4, 5, 13 },
|
||||
{ "test2", "changedtick", 1, tick+1 } })
|
||||
@@ -111,7 +111,7 @@ describe('lua: buffer event callbacks', function()
|
||||
tick = tick + 1
|
||||
|
||||
-- plugins can opt in to receive changedtick events, or choose
|
||||
-- to only recieve actual changes.
|
||||
-- to only receive actual changes.
|
||||
check_events({{ "test1", "lines", 1, tick, 6, 7, 9, 16 },
|
||||
{ "test2", "lines", 1, tick, 6, 7, 9, 16 }})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user