neovim/test/functional/legacy
Famiu Haque 576dddb461 test: don't unnecessarily specify win/buf for nvim_(get|set)_option_value
`nvim_(get|set)_option_value` pick the current buffer / window by default for buffer-local/window-local (but not global-local) options. So specifying `buf = 0` or `win = 0` in opts is unnecessary for those options. This PR removes those to reduce code clutter.
2023-05-22 13:02:07 +06:00
..
002_filename_recognition_spec.lua
004_bufenter_with_modelines_spec.lua
005_bufleave_delete_buffer_spec.lua A Mudholland Dr. Recast 2020-10-19 21:48:06 +02:00
007_ball_buffer_list_spec.lua test: update tests to work with 'hidden' 2021-08-18 12:17:12 -06:00
008_autocommands_spec.lua fix(tests): check for EOF on exit of nvim properly 2022-06-13 10:15:44 +02:00
011_autocommands_spec.lua test: replace lfs with luv and vim.fs 2023-04-04 21:59:06 +02:00
012_directory_spec.lua test: don't unnecessarily specify win/buf for nvim_(get|set)_option_value 2023-05-22 13:02:07 +06:00
015_alignment_spec.lua test: lint whitespace in legacy/ (#7308) 2017-09-24 20:42:48 +02:00
018_unset_smart_indenting_spec.lua
019_smarttab_expandtab_spec.lua test: lint whitespace in legacy/ (#7308) 2017-09-24 20:42:48 +02:00
020_blockwise_visual_spec.lua
021_control_wi_spec.lua doc: fix typos [ci skip] #11787 2020-01-30 22:56:34 -08:00
023_edit_arguments_spec.lua A Mudholland Dr. Recast 2020-10-19 21:48:06 +02:00
025_jump_tag_hidden_spec.lua test: simplify platform detection (#21020) 2022-11-22 08:13:30 +08:00
026_execute_while_if_spec.lua
028_source_ctrl_v_spec.lua
029_join_spec.lua test: lint whitespace in legacy/ (#7308) 2017-09-24 20:42:48 +02:00
030_fileformats_spec.lua docs: fix typos (#20394) 2022-09-30 09:53:52 +02:00
031_close_commands_spec.lua fix(tests): check for EOF on exit of nvim properly 2022-06-13 10:15:44 +02:00
033_lisp_indent_spec.lua A Mudholland Dr. Recast 2020-10-19 21:48:06 +02:00
034_user_function_spec.lua
035_increment_and_decrement_spec.lua
036_regexp_character_classes_spec.lua A Mudholland Dr. Recast 2020-10-19 21:48:06 +02:00
038_virtual_replace_spec.lua test: lint whitespace in legacy/ (#7308) 2017-09-24 20:42:48 +02:00
039_visual_block_mode_commands_spec.lua test: lint whitespace in legacy/ (#7308) 2017-09-24 20:42:48 +02:00
043_magic_settings_spec.lua
044_099_regexp_multibyte_magic_spec.lua
046_multi_line_regexps_spec.lua
051_highlight_spec.lua A Mudholland Dr. Recast 2020-10-19 21:48:06 +02:00
054_buffer_local_autocommands_spec.lua
055_list_and_dict_types_spec.lua vim-patch:8.2.1698: cannot lock a variable in legacy Vim script like in Vim9 (#21883) 2023-01-19 08:03:13 +08:00
056_script_local_function_spec.lua
057_sort_spec.lua A Mudholland Dr. Recast 2020-10-19 21:48:06 +02:00
060_exists_and_has_functions_spec.lua test: lint whitespace in legacy/ (#7308) 2017-09-24 20:42:48 +02:00
061_undo_tree_spec.lua test: avoid name collisions with Xtest directory (#23019) 2023-04-11 17:18:54 +08:00
063_match_and_matchadd_spec.lua vim-patch:9.0.0622: matchaddpos() can get slow when adding many matches 2022-10-02 07:28:38 +08:00
065_float_and_logic_operators_spec.lua
066_visual_block_tab_spec.lua test: lint whitespace in legacy/ (#7308) 2017-09-24 20:42:48 +02:00
067_augroup_exists_spec.lua
068_text_formatting_spec.lua test: lint whitespace in legacy/ (#7308) 2017-09-24 20:42:48 +02:00
069_multibyte_formatting_spec.lua test: lint whitespace in legacy/ (#7308) 2017-09-24 20:42:48 +02:00
072_undo_file_spec.lua docs: fix typos (#20394) 2022-09-30 09:53:52 +02:00
074_global_var_in_viminfo_spec.lua test: replace lfs with luv and vim.fs 2023-04-04 21:59:06 +02:00
078_swapfile_recover_spec.lua test: lint whitespace in legacy/ (#7308) 2017-09-24 20:42:48 +02:00
081_coptions_movement_spec.lua test: lint whitespace in legacy/ (#7308) 2017-09-24 20:42:48 +02:00
082_string_comparison_spec.lua test: lint whitespace in legacy/ (#7308) 2017-09-24 20:42:48 +02:00
083_tag_search_with_file_encoding_spec.lua docs: fix typos (#20394) 2022-09-30 09:53:52 +02:00
090_sha256_spec.lua
091_context_variables_spec.lua
092_mksession_cursor_cols_utf8_spec.lua test: lint whitespace in legacy/ (#7308) 2017-09-24 20:42:48 +02:00
093_mksession_cursor_cols_latin1_spec.lua win: enable legacy test 093 2018-02-19 07:10:43 -05:00
094_visual_mode_operators_spec.lua test: lint whitespace in legacy/ (#7308) 2017-09-24 20:42:48 +02:00
095_regexp_multibyte_spec.lua vim-patch:8.2.0010: test64 is old style 2019-12-16 19:38:29 -05:00
096_location_list_spec.lua test: robust cleanup, unique filenames #7950 (#7950) 2018-02-01 03:12:37 +01:00
097_glob_path_spec.lua test: simplify platform detection (#21020) 2022-11-22 08:13:30 +08:00
101_hlsearch_spec.lua
102_fnameescape_spec.lua
103_visual_mode_reset_spec.lua test: lint whitespace in legacy/ (#7308) 2017-09-24 20:42:48 +02:00
106_errorformat_spec.lua test: lint whitespace in legacy/ (#7308) 2017-09-24 20:42:48 +02:00
107_adjust_window_and_contents_spec.lua A Mudholland Dr. Recast 2020-10-19 21:48:06 +02:00
108_backtrace_debug_commands_spec.lua vim-patch:8.1.0550: expression evaluation may repeat an error message 2018-11-30 23:35:36 -05:00
arglist_spec.lua vim-patch:8.2.3885: arglist test fails 2022-10-05 22:40:28 +08:00
assert_spec.lua feat(api): nvim_exec2(), deprecate nvim_exec() #19032 2023-03-25 09:58:48 -07:00
autochdir_spec.lua test: replace lfs with luv and vim.fs 2023-04-04 21:59:06 +02:00
autocmd_option_spec.lua refactor(options): deprecate nvim[_buf|_win]_[gs]et_option 2023-05-21 15:14:01 +06:00
autoformat_join_spec.lua A Mudholland Dr. Recast 2020-10-19 21:48:06 +02:00
breakindent_spec.lua vim-patch:8.2.4501: with 'showbreak' set cursor displayed in wrong position 2022-11-05 19:35:56 +08:00
buffer_spec.lua refactor(options): deprecate nvim[_buf|_win]_[gs]et_option 2023-05-21 15:14:01 +06:00
changelist_spec.lua
charsearch_spec.lua
close_count_spec.lua A Mudholland Dr. Recast 2020-10-19 21:48:06 +02:00
cmdline_spec.lua refactor(options): deprecate nvim[_buf|_win]_[gs]et_option 2023-05-21 15:14:01 +06:00
command_count_spec.lua test: lint whitespace in legacy/ (#7308) 2017-09-24 20:42:48 +02:00
comparators_spec.lua
conceal_spec.lua vim-patch:9.0.0662: concealed characters do not work correctly (#23454) 2023-05-03 07:54:17 +08:00
cpoptions_spec.lua vim-patch:8.2.0482: channel and sandbox code not sufficiently tested 2022-07-15 10:50:21 +08:00
delete_spec.lua vim-patch:8.2.2857: Vim9: exception in ISN_INSTR caught at wrong level (#23131) 2023-04-16 18:27:33 +08:00
digraph_spec.lua vim-patch:8.2.1022: various parts of code not covered by tests 2022-11-04 20:54:50 +08:00
display_spec.lua vim-patch:9.0.1561: display wrong when moving cursor to above the top line (#23644) 2023-05-16 07:56:06 +08:00
edit_spec.lua vim-patch:8.2.3135: Vim9: builtin function arguments not checked at compile time 2023-05-05 09:19:05 +08:00
erasebackword_spec.lua test: lint whitespace in legacy/ (#7308) 2017-09-24 20:42:48 +02:00
eval_spec.lua vim-patch:8.2.4890: inconsistent capitalization in error messages 2023-05-05 09:20:30 +08:00
ex_mode_spec.lua test: use poke_eventloop() instead of sleep(10) where possible (#19794) 2022-08-16 15:21:46 +08:00
excmd_spec.lua test: simplify platform detection (#21020) 2022-11-22 08:13:30 +08:00
filechanged_spec.lua refactor(options): deprecate nvim[_buf|_win]_[gs]et_option 2023-05-21 15:14:01 +06:00
fixeol_spec.lua test: fixeol cleanup created files #18785 2022-05-28 10:34:18 -07:00
fnamemodify_spec.lua vim-patch:8.2.3468: problem with :cd when editing file in non-existent directory 2021-11-19 20:07:04 +08:00
fold_spec.lua vim-patch:8.2.2713: folding code not sufficiently tested 2022-11-25 15:55:43 +08:00
function_sort_spec.lua test: correct order of arguments to eq() and neq() 2022-04-26 11:38:58 +08:00
getcwd_spec.lua win: enable legacy/getcwd_spec.lua 2018-02-19 07:10:43 -05:00
gf_spec.lua refactor: remove E5500, adjust tests 2023-01-16 18:03:08 +08:00
glob2regpat_spec.lua vim-patch:9.0.0250: slightly inconsistent error messages 2023-05-05 09:20:30 +08:00
global_spec.lua test: use poke_eventloop() instead of sleep(10) where possible (#19794) 2022-08-16 15:21:46 +08:00
increment_spec.lua docs: fix typos 2022-11-02 21:45:26 +08:00
insertcount_spec.lua
join_spec.lua
lispwords_spec.lua
listchars_spec.lua docs: fix typos (#18269) 2022-06-04 11:56:36 +08:00
listlbr_spec.lua vim-patch:9.0.0702: incomplete testing cursor position with 'linebreak' set 2022-10-09 19:09:32 +08:00
listlbr_utf8_spec.lua test: lint whitespace in legacy/ (#7308) 2017-09-24 20:42:48 +02:00
mapping_spec.lua test: use poke_eventloop() instead of sleep(10) where possible (#19794) 2022-08-16 15:21:46 +08:00
marks_spec.lua test: lint whitespace in legacy/ (#7308) 2017-09-24 20:42:48 +02:00
match_spec.lua vim-patch:8.2.4062: match highlighting of tab too short 2022-11-24 19:10:00 +08:00
memory_usage_spec.lua docs: fix typos (#21427) 2023-01-04 07:38:48 +08:00
messages_spec.lua refactor(options): deprecate nvim[_buf|_win]_[gs]et_option 2023-05-21 15:14:01 +06:00
mksession_spec.lua refactor(options): remove obsolete distinction of "vi" vs "vim" defaults 2021-07-14 21:54:19 +02:00
move_spec.lua vim-patch:9.0.1279: display shows lines scrolled down erroneously (#22126) 2023-02-05 09:37:12 +08:00
nested_function_spec.lua
normal_spec.lua vim-patch:9.0.1530: cursor moves to wrong line when 'foldmethod' is "diff" 2023-05-09 22:40:24 +02:00
options_spec.lua test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
prompt_buffer_spec.lua vim-patch:9.0.1443: ending Insert mode when accessing a hidden prompt buffer (#22984) 2023-04-10 07:33:26 +08:00
put_spec.lua vim-patch:9.0.1476: lines put in non-current window are not displayed (#23265) 2023-04-23 00:30:52 +08:00
qf_title_spec.lua
scroll_opt_spec.lua vim-patch:9.0.1568: with 'smoothscroll' cursor may move below botline 2023-05-19 19:28:01 +02:00
search_mbyte_spec.lua A Mudholland Dr. Recast 2020-10-19 21:48:06 +02:00
search_spec.lua vim-patch:9.0.1309: scrolling two lines with even line count and 'scrolloff' set 2023-02-16 08:09:41 +08:00
search_stat_spec.lua vim-patch:9.0.1518: search stats not always visible when searching backwards (#23517) 2023-05-07 07:57:29 +08:00
signs_spec.lua
source_spec.lua vim-patch:9.0.0969: matchparen highlight is not updated when switching buffers (#21227) 2022-11-29 10:17:57 +08:00
statusline_spec.lua vim-patch:9.0.1195: restoring KeyTyped when building statusline not tested 2023-01-14 20:27:40 +08:00
substitute_spec.lua vim-patch:9.0.0457: substitute prompt does not highlight an empty match (#20186) 2022-09-13 22:08:01 +08:00
syn_attr_spec.lua test(syn_attr_spec): add more information (#21912) 2023-01-20 10:03:29 +08:00
tabline_spec.lua vim-patch:9.0.1195: restoring KeyTyped when building statusline not tested 2023-01-14 20:27:40 +08:00
tagcase_spec.lua test: lint whitespace in legacy/ (#7308) 2017-09-24 20:42:48 +02:00
textobjects_spec.lua
undolevels_spec.lua
utf8_spec.lua vim-patch:8.2.4152: block insert with double wide character fails 2022-02-14 17:29:49 +00:00
vimscript_spec.lua refactor(options): deprecate nvim[_buf|_win]_[gs]et_option 2023-05-21 15:14:01 +06:00
visual_mode_spec.lua vim-patch:9.0.0969: matchparen highlight is not updated when switching buffers (#21227) 2022-11-29 10:17:57 +08:00
window_cmd_spec.lua vim-patch:9.0.1513: text scrolls unnecessarily when splitting 2023-05-07 00:38:45 +02:00
wordcount_spec.lua test: correct order of arguments to eq() and neq() 2022-04-26 11:38:58 +08:00
writefile_spec.lua