summaryrefslogtreecommitdiffstatshomepage
path: root/test/old/testdir/test_source.vim
AgeCommit message (Collapse)AuthorFiles
2025-12-13vim-patch:8.2.4633: Visual range does not work before command modifiersJan Edmund Lazo1
Problem: Visual range does not work before command modifiers. Solution: Move Visual range to after command modifiers. https://github.com/vim/vim/commit/c75bca3ee955ff36ece99a42041733ddea5f45a7 Co-authored-by: Bram Moolenaar <Bram@vim.org>
2025-04-27vim-patch:partial:fbe4a8f: runtime(doc): Fix notation of "Vim script" and ↵zeertzjq1
"Vim9 script" (#33673) closes: vim/vim#17213 https://github.com/vim/vim/commit/fbe4a8f5c0fbaa99ffa5b67081c10c85bc88a91a Cherry-pick Test_source_ignore_shebang() change from patch 9.0.0363. Co-authored-by: Hirohito Higashi <h.east.727@gmail.com>
2025-02-28vim-patch:8.2.4974: ":so" command may read after end of bufferzeertzjq1
Problem: ":so" command may read after end of buffer. Solution: Compute length of text properly. https://github.com/vim/vim/commit/4748c4bd64610cf943a431d215bb1aad51f8d0b4 Co-authored-by: Bram Moolenaar <Bram@vim.org>
2025-02-28vim-patch:8.2.4647: "source" can read past end of copied linezeertzjq1
Problem: "source" can read past end of copied line. Solution: Add a terminating NUL. https://github.com/vim/vim/commit/2bdad6126778f907c0b98002bfebf0e611a3f5db Co-authored-by: Bram Moolenaar <Bram@vim.org>
2025-02-28vim-patch:8.2.4607: sourcing buffer lines may lead to errors for conflictszeertzjq1
Problem: Sourcing buffer lines may lead to errors for conflicts. Solution: Add the ++clear argument. (Yegappan Lakshmanan, closes vim/vim#9991) https://github.com/vim/vim/commit/35dc17634dd6da5b90bd1b0160c4ed9e394f4b87 Documentation changes only. Vim9script is N/A. Cherry-pick another documentation change for :source from latest Vim. Co-authored-by: Yegappan Lakshmanan <yegappan@yahoo.com>
2025-02-28vim-patch:8.2.4603: sourcing buffer lines is too complicatedzeertzjq1
Problem: Sourcing buffer lines is too complicated. Solution: Simplify the code. Make it possible to source Vim9 script lines. (Yegappan Lakshmanan, closes vim/vim#9974) https://github.com/vim/vim/commit/85b43c6cb7d56919e245622f4e42db6d8bee4194 This commit changes the behavior of sourcing buffer lines to always have a script ID, although sourcing the same buffer always produces the same script ID. vim-patch:9.1.0372: Calling CLEAR_FIELD() on the same struct twice Problem: Calling CLEAR_FIELD() on the same struct twice. Solution: Remove the second CLEAR_FIELD(). Move the assignment of cookie.sourceing_lnum (zeertzjq). closes: vim/vim#14627 https://github.com/vim/vim/commit/f68517c1671dfedcc1555da50bc0b3de6d2842f6 Co-authored-by: Yegappan Lakshmanan <yegappan@yahoo.com>
2025-02-28vim-patch:8.2.4594: need to write script to a file to be able to source themzeertzjq1
Problem: Need to write script to a file to be able to source them. Solution: Make ":source" use lines from the current buffer. (Yegappan Lakshmanan et al., closes vim/vim#9967) https://github.com/vim/vim/commit/36a5b6867bb6c0bd69c8da7d788000ab8a0b0ab0 Most code and test changes are reverted or modified again in patch 8.2.4603, so only port parts that are untouched in patch 8.2.4603. Co-authored-by: Yegappan Lakshmanan <yegappan@yahoo.com>
2024-07-18vim-patch:partial:9.0.0719: too many delete() calls in testszeertzjq1
Problem: Too many delete() calls in tests. Solution: Use deferred delete where possible. https://github.com/vim/vim/commit/56564964e6d0956c29687e8a10cb94fe42f5c097 This includes all changes expect changes in test_startup.vim. Co-authored-by: Bram Moolenaar <Bram@vim.org>
2023-03-07test: move oldtests to test directory (#22536)dundargoc1
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'.