Merge branch 'fix_getcurpos_missing' of https://github.com/citec/todo.txt-vim into citec-fix_getcurpos_missing
This commit is contained in:
@@ -35,7 +35,7 @@ function! todo#PrioritizeDecrease()
|
|||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
function! todo#PrioritizeAdd (priority)
|
function! todo#PrioritizeAdd (priority)
|
||||||
let oldpos=getcurpos()
|
let oldpos=getpos('.')
|
||||||
let line=getline('.')
|
let line=getline('.')
|
||||||
if line !~ '^([A-F])'
|
if line !~ '^([A-F])'
|
||||||
:call todo#PrioritizeAddAction(a:priority)
|
:call todo#PrioritizeAddAction(a:priority)
|
||||||
|
|||||||
Reference in New Issue
Block a user