Doug Kearns
6dfdff3f27
patch 9.0.1798: The 'syntax' option has no completion.
...
Problem: The 'syntax' option has no completion.
Solution: Add syntax option completion.
closes : #12900
Signed-off-by: Christian Brabandt <cb@256bit.org >
Co-authored-by: Doug Kearns <dougkearns@gmail.com >
2023-08-27 18:48:51 +02:00
Christian Brabandt
757593c07a
patch 9.0.1781: Problems when setting bin/paste option
...
Problem: Problems when setting bin/paste option
Solution: When setting binary/paste, remember that this also affects
depending options, so that :verbose set returns the right
location.
Mention if depending options for 'binary' or 'paste' have been reset
indirectly. Add a test to verify it works.
Also noticed as small bug, that the global option value for expandtab
was not reset when paste option is set, so fix that while at it.
closes : #12837
closes : #12879
Signed-off-by: Christian Brabandt <cb@256bit.org >
Co-authored-by: zeertzjq <zeertzjq@outlook.com >
2023-08-22 21:44:10 +02:00
Christian Brabandt
4a8eb6e7a9
patch 9.0.1710: scrolloff options work slightly different
...
Problem: sidescrolloff and scrolloff options work slightly
different than other global-local options
Solution: Make it behave consistent for all global-local options
It was noticed, that sidescrolloff and scrolloff options behave
differently in comparison to other global-local window options like
'listchars'
So make those two behave like other global-local options. Also add some
extra documentation for a few special local-window options.
Add a few tests to make sure all global-local window options behave
similar
closes : #12956
closes : #12643
Signed-off-by: Christian Brabandt <cb@256bit.org >
2023-08-13 19:43:42 +02:00
Bram Moolenaar
bf5f189e44
patch 9.0.1670: resetting local option to global value is inconsistent
...
Problem: Resetting local option to global value is inconsistent.
Solution: Handle "<" specifically for 'scrolloff' and 'sidescrolloff'.
(closes #12594 )
2023-06-27 21:51:07 +01:00
zeertzjq
4c7cb372c1
patch 9.0.1631: passing wrong variable type to option gives multiple errors
...
Problem: Passing a wrong variable type to an option gives multiple errors.
Solution: Bail out early on failure. (closes #12504 )
2023-06-14 16:39:54 +01:00
Bram Moolenaar
048d9d2521
patch 9.0.1520: completion for option name includes all bool options
...
Problem: Completion for option name includes all bool options.
Solution: Do not recognize the "noinv" prefix. Prefix "no" or "inv" when
appropriate.
2023-05-06 22:21:11 +01:00
zeertzjq
30585e03a7
patch 9.0.1386: options test fails with some window width
...
Problem: Options test fails with some window width.
Solution: Adjust what text the test checks with. (closes #12111 )
2023-03-06 08:10:04 +00:00
James McCoy
db1887ce40
patch 9.0.1372: test for 'toolbariconsize' may fail
...
Problem: Test for 'toolbariconsize' may fail.
Solution: Only test 'toolbariconsize' when it is supported. (James McCoy,
closes #12095 )
2023-03-02 18:36:33 +00:00
Yegappan Lakshmanan
c6ff21e876
patch 9.0.1369: still some "else if" constructs for setting options
...
Problem: Still some "else if" constructs for setting options.
Solution: Add a few more functions for handling options. (Yegappan
Lakshmanan, closes #12090 )
2023-03-02 14:46:48 +00:00
Yegappan Lakshmanan
5da901bb68
patch 9.0.1359: too many "else if" statements in handling options
...
Problem: Too many "else if" statements in handling options.
Solution: Add more functions for handling option changes. (Yegappan
Lakshmanan, closes #12060 )
2023-02-27 12:47:47 +00:00
Yegappan Lakshmanan
8ad862a1f9
patch 9.0.1345: too many "else if" statements for handling options
...
Problem: Too many "else if" statements for handling options.
Solution: Add more functions to handle options. (Yegappan Lakshmanan,
closes #12051 )
2023-02-23 15:05:22 +00:00
Yegappan Lakshmanan
32ff96ef01
patch 9.0.1307: setting 'formatoptions' with :let doesn't check for errors
...
Problem: Setting 'formatoptions' with :let doesn't check for errors.
Solution: Pass "errbuf" to set_string_option(). (Yegappan Lakshmanan,
closes #11974 , closes #11972 )
2023-02-13 16:10:04 +00:00
Bram Moolenaar
0aad88f073
patch 9.0.0862: default value of 'endoffile' is wrong
...
Problem: Default value of 'endoffile' is wrong.
Solution: The default must be 'noendoffile'.
2022-11-12 11:54:26 +00:00
dundargoc
c57b5bcd22
patch 9.0.0828: various typos
...
Problem: Various typos.
Solution: Correct typos. (closes #11432 )
2022-11-02 13:30:51 +00:00
Bram Moolenaar
b1fd26d208
patch 9.0.0644: 'smoothscroll' is not copied to a new window on :split
...
Problem: 'smoothscroll' is not copied to a new window on :split.
Solution: Copy the option value. Add a test.
2022-10-03 11:23:02 +01:00
Bram Moolenaar
145d1fd910
patch 9.0.0631: too many delete() calls in tests
...
Problem: Too many delete() calls in tests.
Solution: Use deferred delete where possible.
2022-09-30 21:57:11 +01:00
zeertzjq
fcba86c031
patch 9.0.0544: minor issues with setting a string option
...
Problem: Minor issues with setting a string option.
Solution: Adjust the code, add a test. (closes #11192 )
2022-09-22 13:57:32 +01:00
Yegappan Lakshmanan
e24b5e0b0f
patch 9.0.0543: insufficient testing for assert and test functions
...
Problem: Insufficient testing for assert and test functions.
Solution: Add a few more tests. (Yegappan Lakshmanan, closes #11190 )
2022-09-22 13:44:00 +01:00
Bram Moolenaar
b18b496997
patch 9.0.0363: common names in test files causes tests to be flaky
...
Problem: Common names in test files causes tests to be flaky.
Solution: Use more specific names.
2022-09-02 21:55:50 +01:00
Bram Moolenaar
f80f40a55c
patch 9.0.0265: no good reason why the "gf" command isn't in the tiny version
...
Problem: No good reason why the "gf" command is not in the tiny version.
Solution: Graduate the file_in_path feature.
2022-08-25 16:02:23 +01:00
zeertzjq
28c162f6f1
patch 9.0.0207: stacktrace not shown when debugging
...
Problem: Stacktrace not shown when debugging.
Solution: Set msg_scroll in msg_source(). (closes #10917 )
2022-08-14 14:49:50 +01:00
zeertzjq
8ca29b6a35
patch 9.0.0176: checking character options is duplicated and incomplete
...
Problem: Checking character options is duplicated and incomplete.
Solution: Move checking to check_chars_options(). (closes #10863 )
2022-08-09 12:53:14 +01:00
zeertzjq
bb404f5ad5
patch 9.0.0059: test file has wrong name
...
Problem: Test file has wrong name.
Solution: Rename the file. Various small fixes. (closes #10674 )
2022-07-23 06:25:29 +01:00
Bram Moolenaar
84f5463630
patch 9.0.0007: no support for double, dotted and dashed underlines
...
Problem: No support for double, dotted and dashed underlines.
Solution: Add the termcap entries and highlight modes. (closes #9553 )
2022-06-29 18:39:11 +01:00
Sean Dewar
39c46b4378
patch 8.2.4943: changing 'switchbuf' may have no effect
...
Problem: Changing 'switchbuf' may have no effect.
Solution: Handle 'switchbuf' in didset_string_options(). (Sean Dewar,
closes #10406 )
2022-05-12 17:44:29 +01:00
zeertzjq
0519ce0039
patch 8.2.4924: maparg() may return a string that cannot be reused
...
Problem: maparg() may return a string that cannot be reused.
Solution: use msg_outtrans_special() instead of str2special().
(closes #10384 )
2022-05-09 12:16:19 +01:00
Christian Brabandt
cb747899bd
patch 8.2.4917: fuzzy expansion of option names is not right
...
Problem: Fuzzy expansion of option names is not right.
Solution: Pass the fuzzy flag down the call chain. (Christian Brabandt,
closes #10380 , closes #10318 )
2022-05-08 21:10:56 +01:00
zeertzjq
5dc294a7b6
patch 8.2.4752: wrong 'statusline' value can cause illegal memory access
...
Problem: Wrong 'statusline' value can cause illegal memory access.
Solution: Properly check the value. (closes #10192 )
2022-04-15 13:17:57 +01:00
Bram Moolenaar
8ccbbeb620
patch 8.2.4492: no error if an option is given a value with ":let &opt = val"
...
Problem: No error if an option is given an invalid value with
":let &opt = val".
Solution: Give the error. (closes #9864 )
2022-03-02 19:49:38 +00:00
Bram Moolenaar
1349bd712c
patch 8.2.4439: accepting "iso8859" 'encoding' as "iso-8859-"
...
Problem: Accepting "iso8859" 'encoding' as "iso-8859-".
Solution: use "iso8859" as "iso-8859-1".
2022-02-22 12:34:28 +00:00
Bram Moolenaar
652dee4486
patch 8.2.4245: ":retab 0" may cause illegal memory access
...
Problem: ":retab 0" may cause illegal memory access.
Solution: Limit the value of 'tabstop' to 10000.
2022-01-28 20:47:49 +00:00
Bakudankun
29f3a45915
patch 8.2.3780: ":cd" works differently on MS-Windows
...
Problem: ":cd" works differently on MS-Windows.
Solution: Add the 'cdhome' option. (closes #9324 )
2021-12-11 12:28:08 +00:00
Dominique Pelle
f645ee47c8
patch 8.2.3744: E854 is not tested; some spelling suggestions are not tested
...
Problem: E854 is not tested; some spelling suggestions are not tested.
Solution: Add a couple of tests. (Dominique Pellé, closes #9279 )
2021-12-05 13:21:18 +00:00
Dominique Pelle
923dce2b07
patch 8.2.3637: typos in test files
...
Problem: Typos in test files.
Solution: Correct the typos. (Dominique Pellé, closes #9175 )
2021-11-21 11:36:04 +00:00
Bram Moolenaar
abdcfd1c83
patch 8.2.3521: options completion test fails
...
Problem: Options completion test fails.
Solution: Add 'thesaurusfunc' to the results.
2021-10-16 16:48:27 +01:00
Dominique Pelle
042414fa00
patch 8.2.3155: some option related code not covered by tests
...
Problem: Some option related code not covered by tests.
Solution: Add a few test cases. (Dominique Pellé, closes #8552 )
2021-07-12 21:43:19 +02:00
Yegappan Lakshmanan
054794c20f
patch 8.2.3061: testing the shell option is incomplete and spread out
...
Problem: Testing the shell option is incomplete and spread out.
Solution: Move shell tests to one file and increase coverage. (Yegappan
Lakshmanan, closes #8464 )
2021-06-27 12:07:49 +02:00
Yegappan Lakshmanan
2d6d718dde
patch 8.2.2994: various code is not fully tested
...
Problem: Various code is not fully tested.
Solution: Add a few more tests. (Yegappan Lakshmanan, closes #8378 )
2021-06-13 21:52:48 +02:00
Bram Moolenaar
5ffefbb35a
patch 8.2.2993: 'fileencodings' default value should depend on 'encoding'
...
Problem: 'fileencodings' default value should depend on 'encoding'. (Gary
Johnson)
Solution: When 'encoding' is "utf-8" use a different default value for
'fileencodings'.
2021-06-13 20:27:36 +02:00
Yegappan Lakshmanan
5958549760
patch 8.2.2979: not all options code is covered by tests
...
Problem: Not all options code is covered by tests.
Solution: Add more tests for options. (Yegappan Lakshmanan, closes #8369 )
2021-06-12 13:46:41 +02:00
Dominique Pelle
6d37e8e3ba
patch 8.2.2837: various code lines not covered by tests
...
Problem: Various code lines not covered by tests.
Solution: Add test cases. (Dominique Pellé, closes #8178 )
2021-05-06 17:36:55 +02:00
Bram Moolenaar
9e813b3dea
patch 8.2.2595: setting 'winminheight' may cause 'lines' to change
...
Problem: Setting 'winminheight' may cause 'lines' to change.
Solution: Also take minimal height of other tabpages into account. (#7899 )
2021-03-13 14:29:05 +01:00
Bram Moolenaar
39d4cab494
patch 8.2.2560: setting 'winminheigt' does not take tabline into account
...
Problem: Setting 'winminheigt' does not take tabline into account.
Solution: Subtract the tabline from the available height. (closes #7899 )
2021-03-01 21:02:46 +01:00
Bram Moolenaar
d5e8c92816
patch 8.2.2452: no completion for the 'filetype' option
...
Problem: No completion for the 'filetype' option.
Solution: Add filetype completion. (Martin Tournoij, closes #7747 )
2021-02-02 21:10:01 +01:00
Bram Moolenaar
5daa911626
patch 8.2.2446: setting 'term' empty has different error if compiled with GUI
...
Problem: Setting 'term' empty has different error if compiled with GUI.
Solution: Insert "else". (closes #7766 )
2021-02-01 18:39:47 +01:00
Bram Moolenaar
85773bf32b
patch 8.2.2368: insufficient tests for setting options
...
Problem: Insufficient tests for setting options.
Solution: Add a few tests. (Dominique Pellé, closes #7695 )
2021-01-17 13:48:03 +01:00
Bram Moolenaar
746670604a
patch 8.2.2236: 'scroll' option can change when setting the statusline
...
Problem: 'scroll' option can change when setting the statusline or tabline
but the option context is not updated.
Solution: Update the script context when the scroll option is changed as a
side effect. (Christian Brabandt, closes #7533 )
2020-12-28 15:41:41 +01:00
Bram Moolenaar
4b2ce1297e
patch 8.2.2030: some tests fail on Mac
...
Problem: Some tests fail on Mac.
Solution: Avoid Mac test failures. Add additional test for wildmenu.
(Yegappan Lakshmanan, closes #7341 )
2020-11-21 21:41:41 +01:00
Bram Moolenaar
8133cc6bf4
patch 8.2.1909: number of status line items is limited to 80
...
Problem: Number of status line items is limited to 80.
Solution: Dynamically allocate the arrays. (Rom Grk, closes #7181 )
2020-10-26 21:05:27 +01:00
Bram Moolenaar
531be47ac5
patch 8.2.1736: failure to compile a pattern not tested much
...
Problem: Failure to compile a pattern not tested much.
Solution: Add tests where a pattern fails to compile. (Yegappan Lakshmanan,
closes #7004 )
2020-09-23 22:38:05 +02:00