Tomas Babej
e049f45ae9
Makefile: Propagate the error codes
2019-02-22 20:59:44 -05:00
Marco Hinz
eaffcbd718
Nvim doesn't imply Python support
...
`has('python')` and `has('python3')` work the same in Vim and Neovim, so there's
no need for that extra check. That check is even wrong, since Nvim's `:python`
and friends won't work either as long as the Python provider isn't installed as
well.
2019-01-12 00:03:41 -05:00
Bodo Graumann
f4f1fe2b2e
Add documentation for list bullet symbol
...
Add a note in the documentation about how we only consider the asterisk
check lists.
Fixes tbabej#197.
2019-01-01 15:51:34 -05:00
Tomas Babej
0177912443
Remove extra package
2018-12-31 20:13:21 -05:00
DancingQuanta
d389088fb7
Modified preset to use cache.markup_syntax
2018-10-18 01:00:29 -04:00
DancingQuanta
65799431a1
Modified viewport's parse_line to use cache.markup_syntax to select markup
2018-10-18 01:00:29 -04:00
DancingQuanta
6bee0144d8
extra-syntaxes: Initialize syntax during TaskCache object initialization
...
Since markup syntax initialization is crucial to having a working TaskCache
object, it should happen as part of the __init__ function. Also, this is
more consistent with the already existing sourcing of other taskwiki
specific Vim variables.
2018-10-18 01:00:29 -04:00
DancingQuanta
09f01333be
Extra-syntaxes: Added Markdown parser
2018-10-18 01:00:29 -04:00
DancingQuanta
8d8fd2c20b
Implemented multIi-markup tests in vim of viewport and preset
2018-10-18 01:00:29 -04:00
DancingQuanta
159d5c4b79
Implemented multi-markup parsing tests for viewport and preset
2018-10-18 01:00:29 -04:00
DancingQuanta
920c065d98
extra-syntaxes: First of test suite of extra syntaxes using HEADER macro with test_syntax_parsing
2018-10-18 01:00:29 -04:00
Brett Kosinski
ca3f5c844c
Add support for vim8 terminal.
...
Taskwiki already supports the Neovim terminal when executing "task
edit", but otherwise assumes that command doesn't exist and falls back
to using "!".
Unfortunately, for users of non-terminal Vim instances, TaskWikiEdit
doesn't work, as "!" doesn't provide a fully functioning terminal,
leading to visual corruption.
Fortunately, vim8 now comes with a compatible implementation of that
command.
Here we extend the 'terminal' detection to check for either Neovim or
Vim8.
2018-09-02 20:42:03 -04:00
Tomas Babej
fe4f44bcf9
travis: Use makefile target
2018-07-31 04:54:10 -04:00
Tomas Babej
b00e886142
tests: Use explicit coverage tracking
2018-07-31 03:46:58 -04:00
Tomas Babej
a331fd0f3b
docker: Accept TASK_VERSION argument
2018-07-31 02:39:53 -04:00
Tomas Babej
d7fd4177a6
travis: test
2018-07-31 02:20:19 -04:00
Tomas Babej
9a91b5de32
tets: Pass along the exit code
2018-07-31 02:20:17 -04:00
Tomas Babej
846b71bc26
docker: Install mnemosyne to pull in graphics deps
2018-07-31 01:43:52 -04:00
Tomas Babej
af6b495fd9
travis: Specify docker service
2018-07-31 01:43:36 -04:00
Tomas Babej
ddf42293c3
travis: Execute docker container as sudo
2018-07-31 00:39:54 -04:00
Tomas Babej
b9878fad11
travis: No point to test container twice
2018-07-31 00:34:39 -04:00
Tomas Babej
07d93b65ee
travis: Specify docker-compose directly
2018-07-31 00:30:58 -04:00
Tomas Babej
2735c6a4b7
docs: Mention docker-based test setup
2018-07-31 00:10:24 -04:00
Tomas Babej
9010069d3a
travis: Specify container to consume the build arg
2018-07-31 00:07:03 -04:00
Tomas Babej
5b1baba08b
travis: Use docker-compose to build
2018-07-31 00:01:51 -04:00
Tomas Babej
9aa55f27ee
docker: Use tty: true to preserve color output
2018-07-31 00:00:38 -04:00
Tomas Babej
93b0491334
meta: Add docker compose file
2018-07-30 23:53:08 -04:00
Tomas Babej
7f7f024c2e
meta: Add makefile
2018-07-30 23:52:43 -04:00
Tomas Babej
b5918e14f5
Dockerfile: Add procps-ng
2018-07-30 23:52:02 -04:00
Tomas Babej
bda5df48a3
tests: Use pytest-cov
2018-07-30 23:51:45 -04:00
Tomas Babej
cb22fd53ba
coverage: Update paths for merging
2018-07-30 22:50:31 -04:00
Tomas Babej
49e87d1d68
meta: Add tasklib into requirements
2018-07-30 22:49:29 -04:00
Tomas Babej
f7ed50f632
travis: Add Dockerfile
2018-07-30 22:44:05 -04:00
Tomas Babej
111a32420b
travis: Use new docker-based build
2018-07-30 22:43:56 -04:00
Bodo Graumann
f35d1a29f4
Add documentation for preset headers
2018-07-17 21:53:18 -04:00
Bodo Graumann
5bf0c89ae8
Use preset header in vwtask and viewport
2018-07-17 21:53:18 -04:00
Bodo Graumann
4372d52298
Add new header type "Preset Header"
...
As first envisioned in #69 , these preset headers allow us to have a
hierarchical structure of taskwarrior filters and defaults.
2018-07-17 21:53:18 -04:00
Bodo Graumann
489d00f24e
Fix typos and improve wording; mainly in help file
2018-07-17 21:53:18 -04:00
Tomas Babej
dfc43e6416
travis: Temporarily disable testing of 2.6.0 branch
2018-07-15 22:43:19 -04:00
Tomas Babej
922e1a25fc
README: Announce deprecation of Python2
2018-07-15 18:59:34 -04:00
Tomas Babej
6f025c8254
travis: Soft drop Python 2 support
2018-07-15 18:57:27 -04:00
Tomas Babej
0da2ac6fe7
travis: Travis does not support Python 3.7 yet
2018-07-15 18:53:29 -04:00
Tomas Babej
7d9fe9d7b9
travis: Use g++ 6.0
2018-07-15 18:45:32 -04:00
Tomas Babej
bf9efa99db
travis: Test all newer Python versions
2018-07-15 18:45:18 -04:00
Tomas Babej
3e615c27e3
tests: Provide more helpful message when looking for scripts
2018-07-15 18:26:30 -04:00
Tomas Babej
dfc2aef502
tests: Update list of script paths
2018-07-15 18:26:19 -04:00
Tomas Babej
b5caafd302
vwtask: Use more reliable way of testing if due date does not have time component
2018-07-15 18:26:05 -04:00
beuerle
6174a28b02
fix wrong parent assignment
...
fixes #167
Previously, the correct parent assignment for tasks only worked if
expandtab was set in vim: if the task currently checked did not start
with the indentation of the new task, the current line was assigned as
the parent. taskwiki uses spaces for indentation, with a fixed length of
4 [0]. If vim is set to use tabs instead of spaces, the checked line
does not start with tabs and is assigned the parent, even if the
actually indentation is the same.
Especially hard-coding the number of spaces for the indentation should
maybe be fixed in the future.
[0]
0c964460e6/taskwiki/sort.py (L170)
2018-05-31 18:29:26 -04:00
Samuel Walladge
292fdcbb87
don't update the buffer if unchanged
...
avoids setting empty save points in vim because the buffer is updated but has
the same contents
2018-05-31 18:28:12 -04:00
Tomas Babej
ffe53db9cf
travis: Clone taskwarrior as task
2018-05-09 13:18:14 -04:00