diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2018-06-23 16:13:46 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2018-06-23 16:13:46 +1200 |
commit | 8a8790ecb6ae2ef0ea75e00c73e34f29e6ec8d0f (patch) | |
tree | 7e908945d86413a191b52eaf5f51274f423f638b | |
parent | Remove useless cursor restoration code (diff) | |
download | vim-fixed-join-8a8790ecb6ae2ef0ea75e00c73e34f29e6ec8d0f.tar.gz vim-fixed-join-8a8790ecb6ae2ef0ea75e00c73e34f29e6ec8d0f.zip |
Use l:cursor_line in :join command build
-rw-r--r-- | plugin/fixed_join.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/fixed_join.vim b/plugin/fixed_join.vim index 7d7f718..5d1c924 100644 --- a/plugin/fixed_join.vim +++ b/plugin/fixed_join.vim @@ -28,7 +28,7 @@ function! s:FixedJoin() endif " Build and execute join command - let l:command = '.,' . l:join_line . 'join' + let l:command = l:cursor_line . ',' . l:join_line . 'join' execute l:command endfunction |