Skip to content

Commit

Permalink
Make s:CursorMoved() accessible as stakeholders#CursorMoved() .
Browse files Browse the repository at this point in the history
  • Loading branch information
tomtom committed Oct 26, 2012
1 parent 7d1af54 commit dc2bd91
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions autoload/stakeholders.vim
Expand Up @@ -127,9 +127,9 @@ function! stakeholders#EnableBuffer() "{{{3
let b:stakeholders = exists('b:stakeholders_def') ?
\ b:stakeholders_def : g:stakeholders#def
" echom "DBG stakeholders#EnableBuffer" b:stakeholders
autocmd stakeholders CursorMoved,CursorMovedI <buffer> call s:CursorMoved(mode())
" autocmd stakeholders InsertEnter,InsertLeave <buffer> call s:CursorMoved(mode())
call s:CursorMoved('n')
autocmd stakeholders CursorMoved,CursorMovedI <buffer> call stakeholders#CursorMoved(mode())
" autocmd stakeholders InsertEnter,InsertLeave <buffer> call stakeholders#CursorMoved(mode())
call stakeholders#CursorMoved('n')
endif
endf

Expand Down Expand Up @@ -226,7 +226,7 @@ function! s:Col(col, mode) "{{{3
endf


function! s:CursorMoved(mode) "{{{3
function! stakeholders#CursorMoved(mode) "{{{3
let pos = getpos('.')
" TLogVAR a:mode, pos
try
Expand Down

0 comments on commit dc2bd91

Please sign in to comment.