tyru / current-func-info.vim

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

Showing wrong function name #23

Open kurko opened 5 years ago

kurko commented 5 years ago

Consider the following:

screen shot 2018-10-02 at 16 54 38

cfi#format("%s", "") will return save. It always shows the function above, not exactly the one the cursor is inside.

Is there a way to fix this?