Skip to content

Commit

Permalink
fix bufnr error
Browse files Browse the repository at this point in the history
fix #17
  • Loading branch information
weirongxu committed Oct 19, 2019
1 parent 1cfc15a commit dc110f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autoload/plantuml_previewer.vim
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ function! plantuml_previewer#start() "{{{
endif
call delete(s:viewer_tmp_puml_path())
call delete(s:viewer_tmp_svg_path())
let s:watched_bufnr = bufnr()
let s:watched_bufnr = bufnr('%')
call plantuml_previewer#refresh(s:watched_bufnr)
augroup plantuml_previewer
autocmd!
Expand Down

0 comments on commit dc110f4

Please sign in to comment.