text stringlengths 24 1.04M | metadata stringlengths 233 497 |
|---|---|
### File: test/functional/legacy/078_swapfile_recover_spec.lua
-- Inserts 10000 lines with text to fill the swap file with two levels of
-- pointer blocks. Then recovers from the swap file and checks all text is
-- restored. We need about 10000 lines of 100 characters to get two levels of
-- pointer blocks.
local n =... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Lua", "repo_name": "minhanghuang/neovim", "path": "test/functional/legacy/078_swapfile_recover_spec.lua", "license": "mit", "size": 2248} |
### File: test/functional/legacy/081_coptions_movement_spec.lua
-- Test for t movement command and 'cpo-;' setting
local n = require('test.functional.testnvim')()
local clear, feed, insert = n.clear, n.feed, n.insert
local feed_command, expect = n.feed_command, n.expect
describe('coptions', function()
setup(clear)... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Lua", "repo_name": "minhanghuang/neovim", "path": "test/functional/legacy/081_coptions_movement_spec.lua", "license": "mit", "size": 773} |
### File: test/functional/legacy/082_string_comparison_spec.lua
-- Tests for case-insensitive UTF-8 comparisons (utf_strnicmp() in mbyte.c)
-- Also test "g~ap".
local n = require('test.functional.testnvim')()
local feed, source = n.feed, n.source
local clear, feed_command, expect = n.clear, n.feed_command, n.expect
... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Lua", "repo_name": "minhanghuang/neovim", "path": "test/functional/legacy/082_string_comparison_spec.lua", "license": "mit", "size": 3987} |
### File: test/functional/legacy/083_tag_search_with_file_encoding_spec.lua
-- Tests for tag search with !_TAG_FILE_ENCODING.
local t = require('test.testutil')
local n = require('test.functional.testnvim')()
local insert, source, clear, expect, write_file =
n.insert, n.source, n.clear, n.expect, t.write_file
loca... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Lua", "repo_name": "minhanghuang/neovim", "path": "test/functional/legacy/083_tag_search_with_file_encoding_spec.lua", "license": "mit", "size": 2665} |
### File: test/functional/legacy/090_sha256_spec.lua
-- Tests for sha256() function.
local n = require('test.functional.testnvim')()
local insert, source = n.insert, n.source
local clear, expect = n.clear, n.expect
describe('sha256()', function()
setup(clear)
it('is working', function()
insert('start:')
... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Lua", "repo_name": "minhanghuang/neovim", "path": "test/functional/legacy/090_sha256_spec.lua", "license": "mit", "size": 1685} |
### File: test/functional/legacy/091_context_variables_spec.lua
-- Tests for getbufvar(), getwinvar(), gettabvar() and gettabwinvar().
local n = require('test.functional.testnvim')()
local insert, source = n.insert, n.source
local clear, expect = n.clear, n.expect
describe('context variables', function()
setup(cle... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Lua", "repo_name": "minhanghuang/neovim", "path": "test/functional/legacy/091_context_variables_spec.lua", "license": "mit", "size": 5046} |
### File: test/functional/legacy/092_mksession_cursor_cols_utf8_spec.lua
-- Tests if :mksession saves cursor columns correctly in presence of tab and
-- multibyte characters when fileencoding=utf-8.
--
-- Same as legacy test 93 but using UTF-8 file encoding.
local n = require('test.functional.testnvim')()
local feed,... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Lua", "repo_name": "minhanghuang/neovim", "path": "test/functional/legacy/092_mksession_cursor_cols_utf8_spec.lua", "license": "mit", "size": 3183} |
### File: test/functional/legacy/094_visual_mode_operators_spec.lua
-- Test for Visual mode and operators.
--
-- Tests for the two kinds of operations: Those executed with Visual mode
-- followed by an operator and those executed via Operator-pending mode. Also
-- part of the test are mappings, counts, and repetition w... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Lua", "repo_name": "minhanghuang/neovim", "path": "test/functional/legacy/094_visual_mode_operators_spec.lua", "license": "mit", "size": 8263} |
### File: test/functional/legacy/095_regexp_multibyte_spec.lua
-- Test for regexp patterns with multi-byte support, using utf-8.
-- See test_regexp_latin.vim for the non-multi-byte tests.
-- A pattern that gives the expected result produces OK, so that we know it was
-- actually tried.
local n = require('test.function... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Lua", "repo_name": "minhanghuang/neovim", "path": "test/functional/legacy/095_regexp_multibyte_spec.lua", "license": "mit", "size": 8621} |
### File: test/functional/legacy/096_location_list_spec.lua
-- Test for problems in quickfix/location list:
-- A. incorrectly copying location lists which caused the location list to show a
-- different name than the file that was actually being displayed.
-- B. not reusing the window for which the location list win... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Lua", "repo_name": "minhanghuang/neovim", "path": "test/functional/legacy/096_location_list_spec.lua", "license": "mit", "size": 6877} |
### File: test/functional/legacy/097_glob_path_spec.lua
-- vim: set foldmethod=marker foldmarker=[[,]] :
-- Test whether glob()/globpath() return correct results with certain escaped
-- characters.
local t = require('test.testutil')
local n = require('test.functional.testnvim')()
local clear = n.clear
local command, ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Lua", "repo_name": "minhanghuang/neovim", "path": "test/functional/legacy/097_glob_path_spec.lua", "license": "mit", "size": 2307} |
### File: test/functional/legacy/101_hlsearch_spec.lua
-- Test for v:hlsearch
local n = require('test.functional.testnvim')()
local clear, feed = n.clear, n.feed
local feed_command, expect = n.feed_command, n.expect
describe('v:hlsearch', function()
setup(clear)
it('is working', function()
-- Last abc: Q
... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Lua", "repo_name": "minhanghuang/neovim", "path": "test/functional/legacy/101_hlsearch_spec.lua", "license": "mit", "size": 1954} |
### File: test/functional/legacy/102_fnameescape_spec.lua
-- Test if fnameescape is correct for special chars like!
local n = require('test.functional.testnvim')()
local clear = n.clear
local command, expect = n.command, n.expect
describe('fnameescape', function()
setup(clear)
it('is working', function()
co... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Lua", "repo_name": "minhanghuang/neovim", "path": "test/functional/legacy/102_fnameescape_spec.lua", "license": "mit", "size": 639} |
### File: test/functional/legacy/103_visual_mode_reset_spec.lua
-- Test for visual mode not being reset causing E315 error.
local n = require('test.functional.testnvim')()
local feed, source = n.feed, n.source
local clear, expect = n.clear, n.expect
describe('E315 error', function()
setup(clear)
it('is working'... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Lua", "repo_name": "minhanghuang/neovim", "path": "test/functional/legacy/103_visual_mode_reset_spec.lua", "license": "mit", "size": 1234} |
### File: test/functional/legacy/106_errorformat_spec.lua
-- Tests for errorformat.
local n = require('test.functional.testnvim')()
local clear = n.clear
local command, expect = n.command, n.expect
describe('errorformat', function()
setup(clear)
it('is working', function()
command('set efm=%EEEE%m,%WWWW%m,%... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Lua", "repo_name": "minhanghuang/neovim", "path": "test/functional/legacy/106_errorformat_spec.lua", "license": "mit", "size": 877} |
### File: test/functional/legacy/107_adjust_window_and_contents_spec.lua
-- Tests for adjusting window and contents
local n = require('test.functional.testnvim')()
local Screen = require('test.functional.ui.screen')
local poke_eventloop = n.poke_eventloop
local clear = n.clear
local insert = n.insert
local command = ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Lua", "repo_name": "minhanghuang/neovim", "path": "test/functional/legacy/107_adjust_window_and_contents_spec.lua", "license": "mit", "size": 1735} |
### File: test/functional/legacy/108_backtrace_debug_commands_spec.lua
-- Tests for backtrace debug commands.
local n = require('test.functional.testnvim')()
local command = n.command
local feed, clear = n.feed, n.clear
local feed_command, expect = n.feed_command, n.expect
describe('108', function()
before_each(cl... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Lua", "repo_name": "minhanghuang/neovim", "path": "test/functional/legacy/108_backtrace_debug_commands_spec.lua", "license": "mit", "size": 4636} |
### File: test/functional/legacy/arglist_spec.lua
-- Test argument list commands
local t = require('test.testutil')
local n = require('test.functional.testnvim')()
local Screen = require('test.functional.ui.screen')
local clear, command, eq = n.clear, n.command, t.eq
local expect_exit = n.expect_exit
local feed = n.f... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Lua", "repo_name": "minhanghuang/neovim", "path": "test/functional/legacy/arglist_spec.lua", "license": "mit", "size": 2029} |
### File: test/functional/legacy/assert_spec.lua
local t = require('test.testutil')
local n = require('test.functional.testnvim')()
local api, call = n.api, n.call
local clear, eq = n.clear, t.eq
local source, command = n.source, n.command
local exc_exec = n.exc_exec
local eval = n.eval
local function expected_errors... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Lua", "repo_name": "minhanghuang/neovim", "path": "test/functional/legacy/assert_spec.lua", "license": "mit", "size": 5400} |
### File: test/functional/legacy/autochdir_spec.lua
local t = require('test.testutil')
local n = require('test.functional.testnvim')()
local clear, eq, matches = n.clear, t.eq, t.matches
local eval, command, call, api = n.eval, n.command, n.call, n.api
local source, exec_capture = n.source, n.exec_capture
local mkdir ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Lua", "repo_name": "minhanghuang/neovim", "path": "test/functional/legacy/autochdir_spec.lua", "license": "mit", "size": 4001} |
### File: test/functional/legacy/autocmd_option_spec.lua
local t = require('test.testutil')
local n = require('test.functional.testnvim')()
local clear, eq, neq, eval = n.clear, t.eq, t.neq, n.eval
local api = n.api
local curbuf = n.api.nvim_get_current_buf
local curwin = n.api.nvim_get_current_win
local exec_capture ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Lua", "repo_name": "minhanghuang/neovim", "path": "test/functional/legacy/autocmd_option_spec.lua", "license": "mit", "size": 25204} |
### File: test/functional/legacy/autocmd_spec.lua
local t = require('test.testutil')
local n = require('test.functional.testnvim')()
local clear = n.clear
local write_file = t.write_file
local command = n.command
local feed = n.feed
local api = n.api
local eq = t.eq
before_each(clear)
-- oldtest: Test_autocmd_invali... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Lua", "repo_name": "minhanghuang/neovim", "path": "test/functional/legacy/autocmd_spec.lua", "license": "mit", "size": 992} |
### File: test/functional/legacy/autoformat_join_spec.lua
-- Tests for setting the '[,'] marks when joining lines.
local n = require('test.functional.testnvim')()
local clear, feed, insert = n.clear, n.feed, n.insert
local command, expect = n.command, n.expect
local poke_eventloop = n.poke_eventloop
describe('autofo... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Lua", "repo_name": "minhanghuang/neovim", "path": "test/functional/legacy/autoformat_join_spec.lua", "license": "mit", "size": 1197} |
### File: test/functional/legacy/breakindent_spec.lua
local n = require('test.functional.testnvim')()
local Screen = require('test.functional.ui.screen')
local clear = n.clear
local command = n.command
local exec = n.exec
local feed = n.feed
before_each(clear)
describe('breakindent', function()
-- oldtest: Test_cu... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Lua", "repo_name": "minhanghuang/neovim", "path": "test/functional/legacy/breakindent_spec.lua", "license": "mit", "size": 5414} |
### File: test/functional/legacy/changelist_spec.lua
-- Test changelist position after splitting window
-- Set 'undolevels' to make changelist for sourced file
local n = require('test.functional.testnvim')()
local clear, feed, insert = n.clear, n.feed, n.insert
local feed_command, expect = n.feed_command, n.expect
d... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Lua", "repo_name": "minhanghuang/neovim", "path": "test/functional/legacy/changelist_spec.lua", "license": "mit", "size": 635} |
### File: test/functional/legacy/charsearch_spec.lua
-- Test for character searches
local n = require('test.functional.testnvim')()
local feed, insert = n.feed, n.insert
local clear, feed_command, expect = n.clear, n.feed_command, n.expect
describe('charsearch', function()
setup(clear)
it('is working', function... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Lua", "repo_name": "minhanghuang/neovim", "path": "test/functional/legacy/charsearch_spec.lua", "license": "mit", "size": 1163} |
### File: test/functional/legacy/close_count_spec.lua
-- Tests for :[count]close! and :[count]hide
local t = require('test.testutil')
local n = require('test.functional.testnvim')()
local eq = t.eq
local poke_eventloop = n.poke_eventloop
local eval = n.eval
local feed = n.feed
local clear = n.clear
local command = n.... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Lua", "repo_name": "minhanghuang/neovim", "path": "test/functional/legacy/close_count_spec.lua", "license": "mit", "size": 4245} |
### File: test/functional/legacy/cmdline_spec.lua
local n = require('test.functional.testnvim')()
local Screen = require('test.functional.ui.screen')
local clear = n.clear
local command = n.command
local feed = n.feed
local feed_command = n.feed_command
local exec = n.exec
local api = n.api
local pesc = vim.pesc
desc... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Lua", "repo_name": "minhanghuang/neovim", "path": "test/functional/legacy/cmdline_spec.lua", "license": "mit", "size": 8381} |
### File: test/functional/legacy/command_count_spec.lua
-- Test for user command counts
local n = require('test.functional.testnvim')()
local clear, source, expect = n.clear, n.source, n.expect
local feed_command = n.feed_command
-- luacheck: ignore 613 (Trailing whitespace in a string)
describe('command_count', fun... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Lua", "repo_name": "minhanghuang/neovim", "path": "test/functional/legacy/command_count_spec.lua", "license": "mit", "size": 6804} |
### File: test/functional/legacy/comparators_spec.lua
-- " Test for expression comparators.
local t = require('test.testutil')
local n = require('test.functional.testnvim')()
local clear, eq = n.clear, t.eq
local eval, command = n.eval, n.command
describe('comparators', function()
before_each(clear)
it('is work... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Lua", "repo_name": "minhanghuang/neovim", "path": "test/functional/legacy/comparators_spec.lua", "license": "mit", "size": 351} |
### File: test/functional/legacy/conceal_spec.lua
local t = require('test.testutil')
local n = require('test.functional.testnvim')()
local Screen = require('test.functional.ui.screen')
local clear = n.clear
local command = n.command
local exec = n.exec
local feed = n.feed
local api = n.api
local expect_pos = function... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Lua", "repo_name": "minhanghuang/neovim", "path": "test/functional/legacy/conceal_spec.lua", "license": "mit", "size": 40343} |
### File: test/functional/legacy/cpoptions_spec.lua
local n = require('test.functional.testnvim')()
local Screen = require('test.functional.ui.screen')
local clear = n.clear
local command = n.command
local feed = n.feed
before_each(clear)
describe('cpoptions', function()
it('$', function()
local screen = Scree... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Lua", "repo_name": "minhanghuang/neovim", "path": "test/functional/legacy/cpoptions_spec.lua", "license": "mit", "size": 730} |
### File: test/functional/legacy/crash_spec.lua
local n = require('test.functional.testnvim')()
local assert_alive = n.assert_alive
local clear = n.clear
local command = n.command
local feed = n.feed
before_each(clear)
it('no crash when ending Visual mode while editing buffer closes window', function()
command('ne... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Lua", "repo_name": "minhanghuang/neovim", "path": "test/functional/legacy/crash_spec.lua", "license": "mit", "size": 886} |
### File: test/functional/legacy/debugger_spec.lua
local t = require('test.testutil')
local n = require('test.functional.testnvim')()
local Screen = require('test.functional.ui.screen')
local clear = n.clear
local command = n.command
local feed = n.feed
local write_file = t.write_file
before_each(clear)
describe('de... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Lua", "repo_name": "minhanghuang/neovim", "path": "test/functional/legacy/debugger_spec.lua", "license": "mit", "size": 1990} |
### File: test/functional/legacy/delete_spec.lua
local t = require('test.testutil')
local n = require('test.functional.testnvim')()
local clear, source = n.clear, n.source
local eq, eval, command = t.eq, n.eval, n.command
local exc_exec = n.exc_exec
describe('Test for delete()', function()
before_each(clear)
afte... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Lua", "repo_name": "minhanghuang/neovim", "path": "test/functional/legacy/delete_spec.lua", "license": "mit", "size": 1941} |
### File: test/functional/legacy/digraph_spec.lua
local n = require('test.functional.testnvim')()
local Screen = require('test.functional.ui.screen')
local clear = n.clear
local feed = n.feed
before_each(clear)
describe('digraph', function()
-- oldtest: Test_entering_digraph()
it('characters displayed on the scr... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Lua", "repo_name": "minhanghuang/neovim", "path": "test/functional/legacy/digraph_spec.lua", "license": "mit", "size": 714} |
### File: test/functional/legacy/display_spec.lua
local n = require('test.functional.testnvim')()
local Screen = require('test.functional.ui.screen')
local clear = n.clear
local exec = n.exec
local feed = n.feed
local command = n.command
describe('display', function()
before_each(clear)
-- oldtest: Test_display_... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Lua", "repo_name": "minhanghuang/neovim", "path": "test/functional/legacy/display_spec.lua", "license": "mit", "size": 9250} |
### File: test/functional/legacy/edit_spec.lua
local n = require('test.functional.testnvim')()
local Screen = require('test.functional.ui.screen')
local clear = n.clear
local command = n.command
local expect = n.expect
local feed = n.feed
local sleep = vim.uv.sleep
before_each(clear)
describe('edit', function()
--... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Lua", "repo_name": "minhanghuang/neovim", "path": "test/functional/legacy/edit_spec.lua", "license": "mit", "size": 3251} |
### File: test/functional/legacy/erasebackword_spec.lua
-- Test for CTRL-W in Insert mode
local n = require('test.functional.testnvim')()
local clear, feed, expect = n.clear, n.feed, n.expect
describe('CTRL-W in Insert mode', function()
setup(clear)
-- luacheck: ignore 611 (Line contains only whitespaces)
it(... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Lua", "repo_name": "minhanghuang/neovim", "path": "test/functional/legacy/erasebackword_spec.lua", "license": "mit", "size": 597} |
### File: test/functional/legacy/eval_spec.lua
-- Test for various eval features.
local t = require('test.testutil')
local n = require('test.functional.testnvim')()
local assert_alive = n.assert_alive
local feed, insert, source = n.feed, n.insert, n.source
local clear, command, expect = n.clear, n.command, n.expect
l... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Lua", "repo_name": "minhanghuang/neovim", "path": "test/functional/legacy/eval_spec.lua", "license": "mit", "size": 28447} |
### File: test/functional/legacy/ex_mode_spec.lua
local t = require('test.testutil')
local n = require('test.functional.testnvim')()
local Screen = require('test.functional.ui.screen')
local clear = n.clear
local command = n.command
local eq = t.eq
local eval = n.eval
local feed = n.feed
local api = n.api
local poke_e... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Lua", "repo_name": "minhanghuang/neovim", "path": "test/functional/legacy/ex_mode_spec.lua", "license": "mit", "size": 7710} |
### File: test/functional/legacy/excmd_spec.lua
local t = require('test.testutil')
local n = require('test.functional.testnvim')()
local Screen = require('test.functional.ui.screen')
local clear = n.clear
local command = n.command
local exec = n.exec
local expect_exit = n.expect_exit
local feed = n.feed
local fn = n.f... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Lua", "repo_name": "minhanghuang/neovim", "path": "test/functional/legacy/excmd_spec.lua", "license": "mit", "size": 21260} |
### File: test/functional/legacy/fixeol_spec.lua
-- Tests for 'fixeol'
local n = require('test.functional.testnvim')()
local feed = n.feed
local clear, feed_command, expect = n.clear, n.feed_command, n.expect
describe('fixeol', function()
local function rmtestfiles()
os.remove('test.out')
os.remove('XXEol'... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Lua", "repo_name": "minhanghuang/neovim", "path": "test/functional/legacy/fixeol_spec.lua", "license": "mit", "size": 1838} |
### File: test/functional/legacy/fnamemodify_spec.lua
-- Test filename modifiers.
local t = require('test.testutil')
local n = require('test.functional.testnvim')()
local clear, source = n.clear, n.source
local call, eq, api = n.call, t.eq, n.api
local function expected_empty()
eq({}, api.nvim_get_vvar('errors'))
... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Lua", "repo_name": "minhanghuang/neovim", "path": "test/functional/legacy/fnamemodify_spec.lua", "license": "mit", "size": 3236} |
### File: test/functional/legacy/fold_spec.lua
-- Tests for folding.
local n = require('test.functional.testnvim')()
local Screen = require('test.functional.ui.screen')
local feed, insert, feed_command, expect_any = n.feed, n.insert, n.feed_command, n.expect_any
local command = n.command
local exec = n.exec
describe... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Lua", "repo_name": "minhanghuang/neovim", "path": "test/functional/legacy/fold_spec.lua", "license": "mit", "size": 8561} |
### File: test/functional/legacy/function_sort_spec.lua
local t = require('test.testutil')
local n = require('test.functional.testnvim')()
local eq = t.eq
local neq = t.neq
local eval = n.eval
local clear = n.clear
local source = n.source
local exc_exec = n.exc_exec
describe('sort', function()
before_each(clear)
... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Lua", "repo_name": "minhanghuang/neovim", "path": "test/functional/legacy/function_sort_spec.lua", "license": "mit", "size": 1846} |
### File: test/functional/legacy/getcwd_spec.lua
-- Tests for getcwd(), haslocaldir(), and :lcd
local t = require('test.testutil')
local n = require('test.functional.testnvim')()
local eq, eval, source = t.eq, n.eval, n.source
local call, clear, command = n.call, n.clear, n.command
describe('getcwd', function()
be... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Lua", "repo_name": "minhanghuang/neovim", "path": "test/functional/legacy/getcwd_spec.lua", "license": "mit", "size": 2853} |
### File: test/functional/legacy/gf_spec.lua
local t = require('test.testutil')
local n = require('test.functional.testnvim')()
local clear = n.clear
local command = n.command
local eq = t.eq
local pcall_err = t.pcall_err
describe('gf', function()
before_each(clear)
it('is not allowed when buffer is locked', fun... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Lua", "repo_name": "minhanghuang/neovim", "path": "test/functional/legacy/gf_spec.lua", "license": "mit", "size": 561} |
### File: test/functional/legacy/glob2regpat_spec.lua
local t = require('test.testutil')
local n = require('test.functional.testnvim')()
local clear = n.clear
local eq, eval = t.eq, n.eval
describe('glob2regpat()', function()
before_each(clear)
it('returns ^$ for empty input', function()
eq('^$', eval("glob2... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Lua", "repo_name": "minhanghuang/neovim", "path": "test/functional/legacy/glob2regpat_spec.lua", "license": "mit", "size": 434} |
### File: test/functional/legacy/global_spec.lua
local n = require('test.functional.testnvim')()
local Screen = require('test.functional.ui.screen')
local clear = n.clear
local exec = n.exec
local feed = n.feed
local poke_eventloop = n.poke_eventloop
before_each(clear)
describe(':global', function()
-- oldtest: Te... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Lua", "repo_name": "minhanghuang/neovim", "path": "test/functional/legacy/global_spec.lua", "license": "mit", "size": 1637} |
### File: test/functional/legacy/highlight_spec.lua
local t = require('test.testutil')
local n = require('test.functional.testnvim')()
local Screen = require('test.functional.ui.screen')
local clear, feed = n.clear, n.feed
local expect = n.expect
local eq = t.eq
local poke_eventloop = n.poke_eventloop
local exc_exec =... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Lua", "repo_name": "minhanghuang/neovim", "path": "test/functional/legacy/highlight_spec.lua", "license": "mit", "size": 3794} |
### File: test/functional/legacy/increment_spec.lua
-- Tests for using Ctrl-A/Ctrl-X on visual selections
local t = require('test.testutil')
local n = require('test.functional.testnvim')()
local source, command = n.source, n.command
local call, clear = n.call, n.clear
local eq, api = t.eq, n.api
describe('Ctrl-A/Ctr... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Lua", "repo_name": "minhanghuang/neovim", "path": "test/functional/legacy/increment_spec.lua", "license": "mit", "size": 22853} |
### File: test/functional/legacy/insertcount_spec.lua
-- Tests for repeating insert and replace.
local n = require('test.functional.testnvim')()
local clear, feed, insert = n.clear, n.feed, n.insert
local feed_command, expect = n.feed_command, n.expect
describe('insertcount', function()
setup(clear)
it('is work... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Lua", "repo_name": "minhanghuang/neovim", "path": "test/functional/legacy/insertcount_spec.lua", "license": "mit", "size": 478} |
### File: test/functional/legacy/join_spec.lua
-- Test for joining lines
local t = require('test.testutil')
local n = require('test.functional.testnvim')()
local clear, eq = n.clear, t.eq
local eval, command = n.eval, n.command
describe('joining lines', function()
before_each(clear)
it('is working', function()
... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Lua", "repo_name": "minhanghuang/neovim", "path": "test/functional/legacy/join_spec.lua", "license": "mit", "size": 593} |
### File: test/functional/legacy/lispwords_spec.lua
local t = require('test.testutil')
local n = require('test.functional.testnvim')()
local clear = n.clear
local eq = t.eq
local eval = n.eval
local command = n.command
local source = n.source
describe('lispwords', function()
before_each(clear)
it('should be set ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Lua", "repo_name": "minhanghuang/neovim", "path": "test/functional/legacy/lispwords_spec.lua", "license": "mit", "size": 720} |
### File: test/functional/legacy/listchars_spec.lua
-- Tests for 'listchars' display with 'list' and :list.
local n = require('test.functional.testnvim')()
local Screen = require('test.functional.ui.screen')
local feed, insert, exec = n.feed, n.insert, n.exec
local clear, feed_command, expect = n.clear, n.feed_comman... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Lua", "repo_name": "minhanghuang/neovim", "path": "test/functional/legacy/listchars_spec.lua", "license": "mit", "size": 7965} |
### File: test/functional/legacy/listlbr_spec.lua
-- Test for linebreak and list option (non-utf8)
local n = require('test.functional.testnvim')()
local Screen = require('test.functional.ui.screen')
local feed, insert, source = n.feed, n.insert, n.source
local clear, feed_command, expect = n.clear, n.feed_command, n.... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Lua", "repo_name": "minhanghuang/neovim", "path": "test/functional/legacy/listlbr_spec.lua", "license": "mit", "size": 10436} |
### File: test/functional/legacy/listlbr_utf8_spec.lua
-- Test for linebreak and list option in utf-8 mode
local n = require('test.functional.testnvim')()
local Screen = require('test.functional.ui.screen')
local source = n.source
local feed = n.feed
local exec = n.exec
local clear, expect = n.clear, n.expect
descri... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Lua", "repo_name": "minhanghuang/neovim", "path": "test/functional/legacy/listlbr_utf8_spec.lua", "license": "mit", "size": 8037} |
### File: test/functional/legacy/mapping_spec.lua
-- Test for mappings and abbreviations
local t = require('test.testutil')
local n = require('test.functional.testnvim')()
local Screen = require('test.functional.ui.screen')
local clear, feed, insert = n.clear, n.feed, n.insert
local expect, poke_eventloop = n.expect,... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Lua", "repo_name": "minhanghuang/neovim", "path": "test/functional/legacy/mapping_spec.lua", "license": "mit", "size": 7321} |
### File: test/functional/legacy/marks_spec.lua
local n = require('test.functional.testnvim')()
local feed, insert, source = n.feed, n.insert, n.source
local clear, feed_command, expect = n.clear, n.feed_command, n.expect
describe('marks', function()
before_each(function()
clear()
end)
-- luacheck: ignore ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Lua", "repo_name": "minhanghuang/neovim", "path": "test/functional/legacy/marks_spec.lua", "license": "mit", "size": 1127} |
### File: test/functional/legacy/match_spec.lua
local n = require('test.functional.testnvim')()
local Screen = require('test.functional.ui.screen')
local clear = n.clear
local exec = n.exec
local feed = n.feed
before_each(clear)
describe('matchaddpos()', function()
-- oldtest: Test_matchaddpos_dump()
it('can add... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Lua", "repo_name": "minhanghuang/neovim", "path": "test/functional/legacy/match_spec.lua", "license": "mit", "size": 4202} |
### File: test/functional/legacy/matchparen_spec.lua
local n = require('test.functional.testnvim')()
local Screen = require('test.functional.ui.screen')
local clear = n.clear
local exec = n.exec
local feed = n.feed
describe('matchparen', function()
before_each(clear)
-- oldtest: Test_visual_block_scroll()
it('... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Lua", "repo_name": "minhanghuang/neovim", "path": "test/functional/legacy/matchparen_spec.lua", "license": "mit", "size": 3623} |
### File: test/functional/legacy/memory_usage_spec.lua
local t = require('test.testutil')
local n = require('test.functional.testnvim')()
local clear = n.clear
local eval = n.eval
local eq = t.eq
local feed_command = n.feed_command
local retry = t.retry
local ok = t.ok
local source = n.source
local poke_eventloop = n.... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Lua", "repo_name": "minhanghuang/neovim", "path": "test/functional/legacy/memory_usage_spec.lua", "license": "mit", "size": 6514} |
### File: test/functional/legacy/messages_spec.lua
local n = require('test.functional.testnvim')()
local Screen = require('test.functional.ui.screen')
local clear = n.clear
local command = n.command
local exec = n.exec
local feed = n.feed
local api = n.api
local nvim_dir = n.nvim_dir
local assert_alive = n.assert_aliv... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Lua", "repo_name": "minhanghuang/neovim", "path": "test/functional/legacy/messages_spec.lua", "license": "mit", "size": 34304} |
### File: test/functional/legacy/mksession_spec.lua
local t = require('test.testutil')
local n = require('test.functional.testnvim')()
local clear = n.clear
local command = n.command
local fn = n.fn
local eq = t.eq
describe('mksession', function()
before_each(clear)
after_each(function()
os.remove('Xtest_mks... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Lua", "repo_name": "minhanghuang/neovim", "path": "test/functional/legacy/mksession_spec.lua", "license": "mit", "size": 1149} |
### File: test/functional/legacy/move_spec.lua
local n = require('test.functional.testnvim')()
local Screen = require('test.functional.ui.screen')
local clear = n.clear
local feed = n.feed
local fn = n.fn
before_each(clear)
describe(':move', function()
-- oldtest: Test_move_undo()
it('redraws correctly when undo... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Lua", "repo_name": "minhanghuang/neovim", "path": "test/functional/legacy/move_spec.lua", "license": "mit", "size": 1437} |
### File: test/functional/legacy/nested_function_spec.lua
-- Tests for nested function.
local n = require('test.functional.testnvim')()
local clear, insert = n.clear, n.insert
local command, expect, source = n.command, n.expect, n.source
describe('test_nested_function', function()
setup(clear)
it('is working', ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Lua", "repo_name": "minhanghuang/neovim", "path": "test/functional/legacy/nested_function_spec.lua", "license": "mit", "size": 1054} |
### File: test/functional/legacy/normal_spec.lua
local t = require('test.testutil')
local n = require('test.functional.testnvim')()
local Screen = require('test.functional.ui.screen')
local clear = n.clear
local exec = n.exec
local feed = n.feed
local api = n.api
local eq = t.eq
local fn = n.fn
describe('normal', fun... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Lua", "repo_name": "minhanghuang/neovim", "path": "test/functional/legacy/normal_spec.lua", "license": "mit", "size": 3424} |
### File: test/functional/legacy/number_spec.lua
local n = require('test.functional.testnvim')()
local Screen = require('test.functional.ui.screen')
local clear = n.clear
local command = n.command
local exec = n.exec
local feed = n.feed
describe("'number' and 'relativenumber'", function()
before_each(clear)
-- o... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Lua", "repo_name": "minhanghuang/neovim", "path": "test/functional/legacy/number_spec.lua", "license": "mit", "size": 13921} |
### File: test/functional/legacy/options_spec.lua
-- See also: test/old/testdir/test_options.vim
local t = require('test.testutil')
local n = require('test.functional.testnvim')()
local Screen = require('test.functional.ui.screen')
local command, clear = n.command, n.clear
local source, expect = n.source, n.expect
loc... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Lua", "repo_name": "minhanghuang/neovim", "path": "test/functional/legacy/options_spec.lua", "license": "mit", "size": 2053} |
### File: test/functional/legacy/prompt_buffer_spec.lua
local t = require('test.testutil')
local n = require('test.functional.testnvim')()
local Screen = require('test.functional.ui.screen')
local feed = n.feed
local source = n.source
local clear = n.clear
local command = n.command
local expect = n.expect
local poke_e... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Lua", "repo_name": "minhanghuang/neovim", "path": "test/functional/legacy/prompt_buffer_spec.lua", "license": "mit", "size": 7258} |
### File: test/functional/legacy/put_spec.lua
local n = require('test.functional.testnvim')()
local Screen = require('test.functional.ui.screen')
local clear = n.clear
local source = n.source
describe('put', function()
before_each(clear)
-- oldtest: Test_put_other_window()
it('above topline in buffer in two sp... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Lua", "repo_name": "minhanghuang/neovim", "path": "test/functional/legacy/put_spec.lua", "license": "mit", "size": 2601} |
### File: test/functional/legacy/qf_title_spec.lua
-- Tests for quickfix window's title
local n = require('test.functional.testnvim')()
local insert, source = n.insert, n.source
local clear, expect = n.clear, n.expect
describe('qf_title', function()
setup(clear)
it('is working', function()
insert([[
R... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Lua", "repo_name": "minhanghuang/neovim", "path": "test/functional/legacy/qf_title_spec.lua", "license": "mit", "size": 659} |
### File: test/functional/legacy/scroll_opt_spec.lua
local n = require('test.functional.testnvim')()
local Screen = require('test.functional.ui.screen')
local clear = n.clear
local exec = n.exec
local feed = n.feed
local assert_alive = n.assert_alive
before_each(clear)
describe('smoothscroll', function()
local scr... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Lua", "repo_name": "minhanghuang/neovim", "path": "test/functional/legacy/scroll_opt_spec.lua", "license": "mit", "size": 49763} |
### File: test/functional/legacy/search_mbyte_spec.lua
local n = require('test.functional.testnvim')()
local poke_eventloop = n.poke_eventloop
local clear = n.clear
local insert = n.insert
local expect = n.expect
local command = n.command
describe('search_mbyte', function()
before_each(clear)
it("search('multi-b... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Lua", "repo_name": "minhanghuang/neovim", "path": "test/functional/legacy/search_mbyte_spec.lua", "license": "mit", "size": 577} |
### File: test/functional/legacy/search_spec.lua
local t = require('test.testutil')
local n = require('test.functional.testnvim')()
local Screen = require('test.functional.ui.screen')
local clear = n.clear
local command = n.command
local eq = t.eq
local eval = n.eval
local feed = n.feed
local fn = n.fn
local poke_even... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Lua", "repo_name": "minhanghuang/neovim", "path": "test/functional/legacy/search_spec.lua", "license": "mit", "size": 20836} |
### File: test/functional/legacy/search_stat_spec.lua
local n = require('test.functional.testnvim')()
local Screen = require('test.functional.ui.screen')
local clear, feed, exec, command = n.clear, n.feed, n.exec, n.command
describe('search stat', function()
local screen
before_each(function()
clear()
scr... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Lua", "repo_name": "minhanghuang/neovim", "path": "test/functional/legacy/search_stat_spec.lua", "license": "mit", "size": 6187} |
### File: test/functional/legacy/signs_spec.lua
-- Tests for signs
local n = require('test.functional.testnvim')()
local Screen = require('test.functional.ui.screen')
local clear, command, exec, expect, feed = n.clear, n.command, n.exec, n.expect, n.feed
describe('signs', function()
before_each(clear)
it('are w... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Lua", "repo_name": "minhanghuang/neovim", "path": "test/functional/legacy/signs_spec.lua", "license": "mit", "size": 3483} |
### File: test/functional/legacy/source_spec.lua
local t = require('test.testutil')
local n = require('test.functional.testnvim')()
local Screen = require('test.functional.ui.screen')
local clear = n.clear
local feed = n.feed
local write_file = t.write_file
before_each(clear)
describe(':source!', function()
-- old... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Lua", "repo_name": "minhanghuang/neovim", "path": "test/functional/legacy/source_spec.lua", "license": "mit", "size": 862} |
### File: test/functional/legacy/statusline_spec.lua
local n = require('test.functional.testnvim')()
local Screen = require('test.functional.ui.screen')
local clear = n.clear
local exec = n.exec
local feed = n.feed
before_each(clear)
describe('statusline', function()
local screen
before_each(function()
scre... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Lua", "repo_name": "minhanghuang/neovim", "path": "test/functional/legacy/statusline_spec.lua", "license": "mit", "size": 4468} |
### File: test/functional/legacy/substitute_spec.lua
-- Test for *sub-replace-special* and *sub-replace-expression* on substitute().
-- Test for submatch() on substitute().
-- Test for *:s%* on :substitute.
local t = require('test.testutil')
local n = require('test.functional.testnvim')()
local Screen = require('test.... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Lua", "repo_name": "minhanghuang/neovim", "path": "test/functional/legacy/substitute_spec.lua", "license": "mit", "size": 8235} |
### File: test/functional/legacy/syn_attr_spec.lua
local t = require('test.testutil')
local n = require('test.functional.testnvim')()
local clear = n.clear
local command = n.command
local eq = t.eq
local eval = n.eval
-- oldtest: Test_missing_attr()
describe('synIDattr()', function()
setup(clear)
local bool_attr... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Lua", "repo_name": "minhanghuang/neovim", "path": "test/functional/legacy/syn_attr_spec.lua", "license": "mit", "size": 2235} |
### File: test/functional/legacy/tabline_spec.lua
local n = require('test.functional.testnvim')()
local Screen = require('test.functional.ui.screen')
local clear = n.clear
local exec = n.exec
local feed = n.feed
before_each(clear)
describe('tabline', function()
local screen
before_each(function()
screen = S... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Lua", "repo_name": "minhanghuang/neovim", "path": "test/functional/legacy/tabline_spec.lua", "license": "mit", "size": 2814} |
### File: test/functional/legacy/tagcase_spec.lua
local t = require('test.testutil')
local n = require('test.functional.testnvim')()
local clear = n.clear
local eq = t.eq
local eval = n.eval
local exc_exec = n.exc_exec
local expect = n.expect
local insert = n.insert
local source = n.source
local write_file = t.write_f... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Lua", "repo_name": "minhanghuang/neovim", "path": "test/functional/legacy/tagcase_spec.lua", "license": "mit", "size": 3491} |
### File: test/functional/legacy/textobjects_spec.lua
local n = require('test.functional.testnvim')()
local call = n.call
local clear = n.clear
local command = n.command
local expect = n.expect
local source = n.source
describe('Text object', function()
before_each(function()
clear()
command('set shada=')
... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Lua", "repo_name": "minhanghuang/neovim", "path": "test/functional/legacy/textobjects_spec.lua", "license": "mit", "size": 1324} |
### File: test/functional/legacy/undolevels_spec.lua
local t = require('test.testutil')
local n = require('test.functional.testnvim')()
local source, clear = n.source, n.clear
local eq, api = t.eq, n.api
describe('undolevel', function()
setup(clear)
it('is working', function()
source([[
func FillBuffer... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Lua", "repo_name": "minhanghuang/neovim", "path": "test/functional/legacy/undolevels_spec.lua", "license": "mit", "size": 1707} |
### File: test/functional/legacy/utf8_spec.lua
-- Tests for Unicode manipulations
local t = require('test.testutil')
local n = require('test.functional.testnvim')()
local clear, feed, insert = n.clear, n.feed, n.insert
local command, expect = n.command, n.expect
local eq, eval = t.eq, n.eval
local source = n.source
l... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Lua", "repo_name": "minhanghuang/neovim", "path": "test/functional/legacy/utf8_spec.lua", "license": "mit", "size": 2368} |
### File: test/functional/legacy/vimscript_spec.lua
local n = require('test.functional.testnvim')()
local Screen = require('test.functional.ui.screen')
local clear = n.clear
local exec = n.exec
local feed = n.feed
local api = n.api
before_each(clear)
describe('Vim script', function()
-- oldtest: Test_deep_nest()
... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Lua", "repo_name": "minhanghuang/neovim", "path": "test/functional/legacy/vimscript_spec.lua", "license": "mit", "size": 2573} |
### File: test/functional/legacy/visual_spec.lua
local n = require('test.functional.testnvim')()
local Screen = require('test.functional.ui.screen')
local clear = n.clear
local feed = n.feed
local exec = n.exec
before_each(clear)
describe('Visual highlight', function()
local screen
before_each(function()
sc... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Lua", "repo_name": "minhanghuang/neovim", "path": "test/functional/legacy/visual_spec.lua", "license": "mit", "size": 1833} |
### File: test/functional/legacy/window_cmd_spec.lua
local n = require('test.functional.testnvim')()
local Screen = require('test.functional.ui.screen')
local clear = n.clear
local exec = n.exec
local exec_lua = n.exec_lua
local command = n.command
local feed = n.feed
-- oldtest: Test_window_cmd_ls0_split_scrolling()... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Lua", "repo_name": "minhanghuang/neovim", "path": "test/functional/legacy/window_cmd_spec.lua", "license": "mit", "size": 15319} |
### File: test/functional/legacy/wordcount_spec.lua
-- Test for wordcount() function
local t = require('test.testutil')
local n = require('test.functional.testnvim')()
local feed, insert, source = n.feed, n.insert, n.source
local clear, command = n.clear, n.command
local eq, eval = t.eq, n.eval
local poke_eventloop =... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Lua", "repo_name": "minhanghuang/neovim", "path": "test/functional/legacy/wordcount_spec.lua", "license": "mit", "size": 5773} |
### File: test/functional/legacy/writefile_spec.lua
-- Tests for writefile()
local n = require('test.functional.testnvim')()
local clear, command, expect = n.clear, n.command, n.expect
describe('writefile', function()
setup(clear)
it('is working', function()
command('%delete _')
command('let f = tempnam... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Lua", "repo_name": "minhanghuang/neovim", "path": "test/functional/legacy/writefile_spec.lua", "license": "mit", "size": 789} |
### File: test/functional/lua/api_spec.lua
-- Test suite for testing interactions with API bindings
local t = require('test.testutil')
local n = require('test.functional.testnvim')()
local exc_exec = n.exc_exec
local remove_trace = t.remove_trace
local fn = n.fn
local clear = n.clear
local eval = n.eval
local NIL = vi... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Lua", "repo_name": "minhanghuang/neovim", "path": "test/functional/lua/api_spec.lua", "license": "mit", "size": 14652} |
### File: test/functional/lua/base64_spec.lua
local t = require('test.testutil')
local n = require('test.functional.testnvim')()
local clear = n.clear
local exec_lua = n.exec_lua
local eq = t.eq
local pcall_err = t.pcall_err
local matches = t.matches
describe('vim.base64', function()
before_each(clear)
local fun... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Lua", "repo_name": "minhanghuang/neovim", "path": "test/functional/lua/base64_spec.lua", "license": "mit", "size": 4788} |
### File: test/functional/lua/buffer_updates_spec.lua
-- Test suite for testing interactions with API bindings
local t = require('test.testutil')
local n = require('test.functional.testnvim')()
local Screen = require('test.functional.ui.screen')
local command = n.command
local api = n.api
local fn = n.fn
local clear =... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Lua", "repo_name": "minhanghuang/neovim", "path": "test/functional/lua/buffer_updates_spec.lua", "license": "mit", "size": 40494} |
### File: test/functional/lua/command_line_completion_spec.lua
local t = require('test.testutil')
local n = require('test.functional.testnvim')()
local clear = n.clear
local eq = t.eq
local exec_lua = n.exec_lua
local get_completions = function(input, env)
return exec_lua('return {vim._expand_pat(...)}', input, env... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Lua", "repo_name": "minhanghuang/neovim", "path": "test/functional/lua/command_line_completion_spec.lua", "license": "mit", "size": 4488} |
### File: test/functional/lua/commands_spec.lua
-- Test suite for checking :lua* commands
local t = require('test.testutil')
local n = require('test.functional.testnvim')()
local Screen = require('test.functional.ui.screen')
local eq = t.eq
local NIL = vim.NIL
local eval = n.eval
local feed = n.feed
local clear = n.cl... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Lua", "repo_name": "minhanghuang/neovim", "path": "test/functional/lua/commands_spec.lua", "license": "mit", "size": 12080} |
### File: test/functional/lua/comment_spec.lua
local t = require('test.testutil')
local n = require('test.functional.testnvim')()
local api = n.api
local clear = n.clear
local eq = t.eq
local exec_capture = n.exec_capture
local exec_lua = n.exec_lua
local feed = n.feed
-- Reference text
-- aa
-- aa
-- aa
--
-- a... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Lua", "repo_name": "minhanghuang/neovim", "path": "test/functional/lua/comment_spec.lua", "license": "mit", "size": 19885} |
### File: test/functional/lua/diagnostic_spec.lua
local t = require('test.testutil')
local n = require('test.functional.testnvim')()
local NIL = vim.NIL
local command = n.command
local clear = n.clear
local exec_lua = n.exec_lua
local eq = t.eq
local matches = t.matches
local api = n.api
local pcall_err = t.pcall_err
... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Lua", "repo_name": "minhanghuang/neovim", "path": "test/functional/lua/diagnostic_spec.lua", "license": "mit", "size": 106030} |
### File: test/functional/lua/ffi_spec.lua
local t = require('test.testutil')
local n = require('test.functional.testnvim')()
local eq = t.eq
local exec_lua = n.exec_lua
local clear = n.clear
before_each(clear)
describe('ffi.cdef', function()
it('can use Neovim core functions', function()
if not exec_lua("retu... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Lua", "repo_name": "minhanghuang/neovim", "path": "test/functional/lua/ffi_spec.lua", "license": "mit", "size": 1845} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.