tyru / current-func-info.vim

Get current function name
http://www.vim.org/scripts/script.php?script_id=3197
63 stars 14 forks source link

Implement Negative Cache #9

Open tyru opened 11 years ago

tyru commented 11 years ago

When walking buffer where cfi#get_func_name() returns empty string, and editing huge source code (like src/eval.c in Vim's source code), it little bit takes a time to move cursor. To solve this problem, implement negative cache not only positive cache.