aboutsummaryrefslogtreecommitdiffstats
path: root/autoload
diff options
context:
space:
mode:
Diffstat (limited to 'autoload')
-rw-r--r--autoload/grappele.vim3
1 files changed, 2 insertions, 1 deletions
diff --git a/autoload/grappele.vim b/autoload/grappele.vim
index c82d0c5..c699f0d 100644
--- a/autoload/grappele.vim
+++ b/autoload/grappele.vim
@@ -1,6 +1,5 @@
function! grappele#Grappele(line)
let l:current_buffer = 0
- let s:line = a:line
let l:column_position = 0
let l:column_offset = 0
@@ -10,6 +9,8 @@ function! grappele#Grappele(line)
" Go to the end of the buffer
$
else
+ let s:line = a:line
+
call setpos('.', [
\ l:current_buffer,
\ a:line,