diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2022-11-18 13:25:21 +0800 |
|---|---|---|
| committer | zeertzjq <zeertzjq@outlook.com> | 2022-11-18 14:59:18 +0800 |
| commit | 245035d6db7399cc077de0eaa8e97e2eecc08a9b (patch) | |
| tree | 8d07e90dc1f7ff3cc7dda29255aa29cc5310395b /src/nvim/testdir | |
| parent | 282cbc2350986c3fc1edb507c4facc8d8fe8cd97 (diff) | |
| download | rneovim-245035d6db7399cc077de0eaa8e97e2eecc08a9b.tar.gz rneovim-245035d6db7399cc077de0eaa8e97e2eecc08a9b.tar.bz2 rneovim-245035d6db7399cc077de0eaa8e97e2eecc08a9b.zip | |
vim-patch:8.2.4494: the find_tags() function is much too long
Problem: The find_tags() function is much too long.
Solution: Refactor the function. (Yegappan Lakshmanan, closes vim/vim#9869)
https://github.com/vim/vim/commit/2f87a99b6e9b559d51e130769e7f8377db6749f8
Co-authored-by: Yegappan Lakshmanan <yegappan@yahoo.com>
Diffstat (limited to 'src/nvim/testdir')
| -rw-r--r-- | src/nvim/testdir/test_tagjump.vim | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_tagjump.vim b/src/nvim/testdir/test_tagjump.vim index bfc61e7b48..361aa23291 100644 --- a/src/nvim/testdir/test_tagjump.vim +++ b/src/nvim/testdir/test_tagjump.vim @@ -1448,6 +1448,11 @@ func Test_tagfile_errors() endtry call assert_equal(v:true, caught_431) + " tag name and file name are not separated by a tab + call writefile(["!_TAG_FILE_ENCODING\tutf-8\t//", + \ "foo Xfile 1"], 'Xtags') + call assert_fails('tag foo', 'E431:') + call delete('Xtags') call delete('Xfile') set tags& |