FIX getcurpos invalid expression

This commit is contained in:
Jaime Alberto Sanchez Hidalgo
2015-10-20 08:43:13 -02:00
parent f3a3bdbefb
commit cc281c47eb

View File

@@ -35,7 +35,7 @@ function! todo#PrioritizeDecrease()
endfunction
function! todo#PrioritizeAdd (priority)
let oldpos=getcurpos()
let oldpos=getpos('.')
let line=getline('.')
if line !~ '^([A-F])'
:call todo#PrioritizeAddAction(a:priority)