mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -04:00
patch 8.0.1134: superfluous call to syn_get_final_id()
Problem: Superfluous call to syn_get_final_id(). Solution: Remove it. (Ken Takata)
This commit is contained in:
@@ -9556,7 +9556,7 @@ syn_name2attr(char_u *name)
|
||||
int id = syn_name2id(name);
|
||||
|
||||
if (id != 0)
|
||||
return syn_id2attr(syn_get_final_id(id));
|
||||
return syn_id2attr(id);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user