diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2021-05-02 12:20:57 -0400 |
---|---|---|
committer | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2021-05-02 12:44:04 -0400 |
commit | 7e36c9a2d3ddcb8b31e318e25767cfb32fa69391 (patch) | |
tree | 662e2877850a17068eaededbfe42f26f37a33417 /runtime/ftplugin/gprof.vim | |
parent | abb13dde980b21b39e9d700370e3e82835007cb6 (diff) | |
download | rneovim-7e36c9a2d3ddcb8b31e318e25767cfb32fa69391.tar.gz rneovim-7e36c9a2d3ddcb8b31e318e25767cfb32fa69391.tar.bz2 rneovim-7e36c9a2d3ddcb8b31e318e25767cfb32fa69391.zip |
vim-patch:56994d215815
Update runtime files.
https://github.com/vim/vim/commit/56994d215815139207f3c5ce02a1720e44e93c09
Diffstat (limited to 'runtime/ftplugin/gprof.vim')
-rw-r--r-- | runtime/ftplugin/gprof.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/ftplugin/gprof.vim b/runtime/ftplugin/gprof.vim index 750751c372..d4547ae9a6 100644 --- a/runtime/ftplugin/gprof.vim +++ b/runtime/ftplugin/gprof.vim @@ -1,6 +1,6 @@ " Language: gprof " Maintainer: Dominique Pelle <dominique.pelle@gmail.com> -" Last Change: 2013 Jun 09 +" Last Change: 2021 Apr 08 " When cursor is on one line of the gprof call graph, " calling this function jumps to this function in the call graph. @@ -16,7 +16,7 @@ fun! <SID>GprofJumpToFunctionIndex() norm! $y% call search('^' . escape(@", '[]'), 'sw') norm! zz - elseif l:line =~ '^\(\s\+[0-9\.]\+\)\{3}\s\+' + elseif l:line =~ '^\(\s*[0-9\.]\+\)\{3}\s\+' " We're in line in the flat profile. norm! 55|eby$ call search('^\[\d\+\].*\d\s\+' . escape(@", '[]*.') . '\>', 'sW') |