diff options
author | Teddy Wing | 2018-03-07 21:04:01 +0100 |
---|---|---|
committer | Teddy Wing | 2018-03-07 21:04:01 +0100 |
commit | a48836ad6f4e8aae8b1dcd5b5c0d8a5935271abc (patch) | |
tree | f5b9ed26a7049f597e6b75f1693d80df7a4b3ed7 /bundle/vim-javascript | |
parent | 26d6b13bc20582b09df7ee40c7d0f2c2580d19e2 (diff) | |
download | dotvim-a48836ad6f4e8aae8b1dcd5b5c0d8a5935271abc.tar.bz2 |
git-blamer: Use `cursor()` instead of `setpos()`
Use the `cursor()` function to set the position of the cursor. This call
is simpler than `setpos()`, and more descriptive than `execute
l:top_line` (that was inspired by fugitive.vim,
https://github.com/tpope/vim-fugitive/blob/f3ccb0c12ee4985b8808f83059830a24cc92821c/plugin/fugitive.vim#L2048-L2064)
Diffstat (limited to 'bundle/vim-javascript')
0 files changed, 0 insertions, 0 deletions