mirror of
https://github.com/freitass/todo.txt-vim.git
synced 2025-11-17 06:13:38 -05:00
Fixes #37. Replacing existing priority
This commit is contained in:
@@ -104,7 +104,7 @@ function! todo#txt#prioritize_add(priority)
|
||||
endfunction
|
||||
|
||||
function! todo#txt#prioritize_add_action(priority)
|
||||
execute "normal! mq0i(".a:priority.") \<esc>`q"
|
||||
execute 's/^\(([a-zA-Z]) \)\?/(' . a:priority . ') /'
|
||||
endfunction
|
||||
|
||||
" Modeline {{{1
|
||||
|
||||
Reference in New Issue
Block a user