Merge branch 'master' of gitlab.com:dbeniamine/todo.txt-vim into github
This commit is contained in:
17
.gitlab-ci.yml
Normal file
17
.gitlab-ci.yml
Normal file
@@ -0,0 +1,17 @@
|
||||
test-vim-latest:
|
||||
image: thinca/vim:v7.4
|
||||
script:
|
||||
- cd tests
|
||||
- bash runtests.sh
|
||||
|
||||
test-vim-7.4:
|
||||
image: thinca/vim:v7.4
|
||||
script:
|
||||
- cd tests
|
||||
- bash runtests.sh
|
||||
|
||||
test-neovim:
|
||||
image: lambdalisue/neovim-ci
|
||||
script:
|
||||
- cd tests
|
||||
- bash runtests.sh
|
||||
@@ -102,7 +102,11 @@ endfunction
|
||||
|
||||
function! todo#MarkAsDone(status)
|
||||
call todo#CreateNewRecurrence(1)
|
||||
if get(g:, 'TodoTxtStripDoneItemPriority', 0)
|
||||
exec ':s/\C^(\([A-Z]\))\(.*\)/\2/e'
|
||||
else
|
||||
exec ':s/\C^(\([A-Z]\))\(.*\)/\2 pri:\1/e'
|
||||
endif
|
||||
if a:status!=''
|
||||
exec 'normal! I'.a:status.' '
|
||||
endif
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#/bin/bash
|
||||
#!/bin/bash
|
||||
|
||||
REPO_TOP=$(git rev-parse --show-toplevel)
|
||||
cd "${REPO_TOP}"
|
||||
|
||||
Reference in New Issue
Block a user