aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir/test_modeline.vim
Commit message (Collapse)AuthorAge
* test: move oldtests to test directory (#22536)dundargoc2023-03-07
| | | | | The new oldtest directory is in test/old/testdir. The reason for this is that many tests have hardcoded the parent directory name to be 'testdir'.
* vim-patch:8.2.2994: various code is not fully testedzeertzjq2022-09-22
| | | | | | | | | Problem: Various code is not fully tested. Solution: Add a few more tests. (Yegappan Lakshmanan, closes vim/vim#8378) https://github.com/vim/vim/commit/2d6d718dde7163c971d37b8f4f1ed8f2d25de130 Nvim does not support encoding=latin1 or compatible mode. The two paste tests are applicable.
* vim-patch:8.2.0690: line number of option set by modeline is wrong (#20228)zeertzjq2022-09-17
| | | | | Problem: Line number of option set by modeline is wrong. Solution: Do not double the line number. (Ozaki Kiichi, closes vim/vim#6035) https://github.com/vim/vim/commit/5125874951669944a5f6a4163d6e5d437ae6321e
* vim-patch:8.2.3384: cannot disable modeline for an individual fileSean Dewar2021-09-10
| | | | | | | | Problem: Cannot disable modeline for an individual file. Solution: Recognize "nomodeline" in a modeline. (Hu Jialun, closes vim/vim#8798) https://github.com/vim/vim/commit/9dcd349ca85e1df1abd1cbf1c29c0f1574b70bf8 Cherry-pick missing modeline for test_modeline.vim (heh) from v8.2.1432.
* vim-patch:8.2.0015: not all modeline variants are testedJan Edmund Lazo2019-12-17
| | | | | | Problem: Not all modeline variants are tested. Solution: Add modeline tests. (Dominique Pelle, closes vim/vim#5369) https://github.com/vim/vim/commit/e74331db4b1b6a64fbbc188ff9bc472a478b9a4e
* vim-patch:8.1.1401: misspelled mkspellmem as makespellmemJames McCoy2019-06-24
| | | | | | | Problem: Misspelled mkspellmem as makespellmem. Solution: Drop duplicate help entry, fix test. (Naruhiko Nishino, Ken Takata, closes vim/vim#4437) https://github.com/vim/vim/commit/076073950c44ea0e35bc39d539dc7ab41bf9c7ec
* vim-patch:8.1.1368: modeline test fails with python but without pythonhomeJames McCoy2019-06-24
| | | | | | Problem: Modeline test fails with python but without pythonhome. Solution: Correct test argument. https://github.com/vim/vim/commit/e09244ee3567d658c293fb1ae0d47a1a8be870ac
* vim-patch:8.1.1367: can set 'modelineexpr' in modelineJames McCoy2019-06-24
| | | | | | Problem: can set 'modelineexpr' in modeline. Solution: Add P_SECURE flag. https://github.com/vim/vim/commit/7e800c6047c8a9cc3e5cbc019a4dc91ec36616b1
* vim-patch:8.1.1366: using expressions in a modeline is unsafeJames McCoy2019-06-24
| | | | | | | Problem: Using expressions in a modeline is unsafe. Solution: Disallow using expressions in a modeline, unless the 'modelineexpr' option is set. Update help, add more tests. https://github.com/vim/vim/commit/110289e78195b6d01e1e6ad26ad450de476d41c1
* vim-patch:8.1.0547: modeline test with keymap still failsJan Edmund Lazo2019-05-25
| | | | | | Problem: Modeline test with keymap still fails. Solution: Check that the keymap feature is available for the failure assert. https://github.com/vim/vim/commit/3067a4dd0d768d1e4a47cf3c100f3e2b462717d7
* vim-patch:8.1.0546: modeline test with keymap failsJan Edmund Lazo2019-05-25
| | | | | | Problem: Modeline test with keymap fails. Solution: Check that the keymap feature is available. https://github.com/vim/vim/commit/4ace6ab7e72151d78f1563b23b498ed20fa00211
* vim-patch:8.1.0506: modeline test fails when run by rootJan Edmund Lazo2019-05-25
| | | | | | | | | | Problem: Modeline test fails when run by root. Solution: Set 'modeline' for the test. (James McCoy, closes vim/vim#3592) https://github.com/vim/vim/commit/9691f82f862ed18c2e3e48f9d2cd902bb947f803 N/A patches: vim-patch:8.1.0208: file left behind after running individual test
* vim-patch:8.1.0205: invalid memory access with invalid modelineJan Edmund Lazo2019-05-25
| | | | | | Problem: Invalid memory access with invalid modeline. Solution: Pass pointer limit. Add a test. (closes vim/vim#3241) https://github.com/vim/vim/commit/9cf4b5005f12ce1d6692266140bdda05d0312d79
* vim-patch:8.1.0544: setting 'filetype' in a modeline causes an errorAbdelhakeem2019-03-28
Problem: Setting 'filetype' in a modeline causes an error (Hirohito Higashi). Solution: Don't add the P_INSECURE flag when setting 'filetype' from a modeline. Also for 'syntax'. https://github.com/vim/vim/commit/916a818cea5ba05a5f2117407674461b8bee6832