diff options
Diffstat (limited to 'runtime/autoload')
-rw-r--r-- | runtime/autoload/dist/man.vim | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/runtime/autoload/dist/man.vim b/runtime/autoload/dist/man.vim index cd584aa718..6ef47f8b78 100644 --- a/runtime/autoload/dist/man.vim +++ b/runtime/autoload/dist/man.vim @@ -3,7 +3,7 @@ " Maintainer: Jason Franklin <vim@justemail.net> " Maintainer: SungHyun Nam <goweol@gmail.com> " Autoload Split: Bram Moolenaar -" Last Change: 2022 Jun 18 +" Last Change: 2023 Jun 28 let s:cpo_save = &cpo set cpo-=C @@ -180,9 +180,10 @@ func dist#man#PopPage() exec "let s:man_tag_buf=s:man_tag_buf_".s:man_tag_depth exec "let s:man_tag_lin=s:man_tag_lin_".s:man_tag_depth exec "let s:man_tag_col=s:man_tag_col_".s:man_tag_depth + exec s:man_tag_buf."b" - exec s:man_tag_lin - exec "norm! ".s:man_tag_col."|" + call cursor(s:man_tag_lin, s:man_tag_col) + exec "unlet s:man_tag_buf_".s:man_tag_depth exec "unlet s:man_tag_lin_".s:man_tag_depth exec "unlet s:man_tag_col_".s:man_tag_depth |