mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -04:00
patch 8.2.4512: the find_tags_in_file() function is much too long
Problem: The find_tags_in_file() function is much too long. Solution: Refactor into multiple smaller functions. (Yegappan Lakshmanan, closes #9892)
This commit is contained in:
committed by
Bram Moolenaar
parent
c12dc47b8f
commit
df1bbea436
@@ -8106,8 +8106,7 @@ hgr_search_file(
|
||||
|
||||
// Convert a line if 'encoding' is not utf-8 and
|
||||
// the line contains a non-ASCII character.
|
||||
if (p_vc->vc_type != CONV_NONE
|
||||
&& has_non_ascii(IObuff))
|
||||
if (p_vc->vc_type != CONV_NONE && has_non_ascii(IObuff))
|
||||
{
|
||||
line = string_convert(p_vc, IObuff, NULL);
|
||||
if (line == NULL)
|
||||
|
Reference in New Issue
Block a user