diff options
author | Andy K. Massimino <f8a663@normed.space> | 2021-03-21 10:16:12 -0400 |
---|---|---|
committer | Andy K. Massimino <f8a663@normed.space> | 2021-03-21 10:37:45 -0400 |
commit | 6519b184716adcffa72e9ad87f6ae6d0d40f5e9f (patch) | |
tree | bcb562792193331a35a3f6b5161b1eec36d8c6ef /runtime | |
parent | e5bef5974e900001cb6ed302b39a6f5ddf48d9a4 (diff) | |
download | rneovim-6519b184716adcffa72e9ad87f6ae6d0d40f5e9f.tar.gz rneovim-6519b184716adcffa72e9ad87f6ae6d0d40f5e9f.tar.bz2 rneovim-6519b184716adcffa72e9ad87f6ae6d0d40f5e9f.zip |
vim-patch:8.2.0088: insufficient tests for tags; bug in using extra tag field
Problem: Insufficient tests for tags; bug in using extra tag field when
using an ex command to position the cursor.
Solution: Fix the bug, add more tests. (Yegappan Lakshmanan, closes vim/vim#5439)
https://github.com/vim/vim/commit/830c1afc9d2cd5819a05c71d4e0b1f748a8c0519
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/doc/tagsrch.txt | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/runtime/doc/tagsrch.txt b/runtime/doc/tagsrch.txt index 23db809543..3a12b2c4d2 100644 --- a/runtime/doc/tagsrch.txt +++ b/runtime/doc/tagsrch.txt @@ -337,11 +337,11 @@ the same as above, with a "p" prepended. A static tag is a tag that is defined for a specific file. In a C program this could be a static function. -In Vi jumping to a tag sets the current search pattern. This means that -the "n" command after jumping to a tag does not search for the same pattern -that it did before jumping to the tag. Vim does not do this as we consider it -to be a bug. You can still find the tag search pattern in the search history. -If you really want the old Vi behavior, set the 't' flag in 'cpoptions'. +In Vi jumping to a tag sets the current search pattern. This means that the +"n" command after jumping to a tag does not search for the same pattern that +it did before jumping to the tag. Vim does not do this as we consider it to +be a bug. If you really want the old Vi behavior, set the 't' flag in +'cpoptions'. *tag-binary-search* Vim uses binary searching in the tags file to find the desired tag quickly @@ -419,8 +419,7 @@ would otherwise go unnoticed. Example: > In Vi the ":tag" command sets the last search pattern when the tag is searched for. In Vim this is not done, the previous search pattern is still remembered, -unless the 't' flag is present in 'cpoptions'. The search pattern is always -put in the search history, so you can modify it if searching fails. +unless the 't' flag is present in 'cpoptions'. *tags-option* The 'tags' option is a list of file names. Each of these files is searched |