Commit graph

38 commits

Author SHA1 Message Date
Tomas Janousek
d66a7b5b94 cache: Mark buffer as modified on push
When a (task)wiki file is opened, viewports are refreshed but the buffer
is not marked as modified and therefore a subsequent :xa doesn't update
the file. This is, IMO, undesired.

vim documentation for the 'modified' option:

    This option is not set when a change is made to the buffer as the
    result of a BufNewFile, BufRead/BufReadPost, BufWritePost,
    FileAppendPost or VimLeave autocommand event.  See |gzip-example| for
    an explanation.
2020-09-23 02:18:46 -04:00
Xyank
9565f1f30e Fix priority field in sort order
Did not actually change the code. Instead changed the docs referring to
the "priority" field incorrectly as "pri", and changed `constants.py` to
reflect the correct name for it.
2020-07-12 09:54:58 -04:00
Tomas Janousek
14c0268438 tests: Upgrade vimrunner and drop the now unnecessary hacks
This makes the tests less brittle and potentially also faster.
2020-07-02 09:51:56 -04:00
DancingQuanta
8d8fd2c20b Implemented multIi-markup tests in vim of viewport and preset 2018-10-18 01:00:29 -04:00
Tomas Babej
496bf34dfa tests: Add test for preservation of default+custom tags in a viewport generated task 2017-07-31 17:22:57 +02:00
Bodo Graumann
32a1c45685 VimwikiTask: Omit 00:00 time from due date 2017-01-27 20:24:34 +01:00
Tomas Babej
0eedf6f3ef Revert "Mappings: Delegate to VimwikiFollowLink for link creation"
This reverts commit 0ac7da0fde.
The commit contained code that was included by mistake.
2017-01-27 14:43:25 +01:00
Tomas Babej
0ac7da0fde Mappings: Delegate to VimwikiFollowLink for link creation 2017-01-27 10:29:34 +01:00
Tomas Babej
6ca9255a39 tests: Fix invalid expectation with regard to the viewport inspection output 2017-01-08 18:06:46 +01:00
Tomas Babej
9586549eed tests: Add more sanity checks for new unicode tests 2017-01-07 23:35:00 +01:00
Tomas Babej
207cf8e317 tests: Remove eluded debug statement 2017-01-07 23:19:17 +01:00
Tomas Babej
6c70cdcecc tests: Fix invalid expectations 2017-01-07 19:03:27 +01:00
Tomas Babej
2d591a0964 tests: Add tests for unicode viewport definitions 2017-01-07 13:38:34 +01:00
Tomas Babej
f2c9324fe8 tests: Add test case for empty filter in the viewport 2017-01-04 20:54:45 +01:00
Tomas Babej
dd0d4203f1 python3: Make tests work 2016-12-16 04:11:09 +01:00
Tomas Babej
7459eee088 tests: Fix tests to expect new default ordering 2016-12-13 00:27:24 +01:00
Tomas Babej
7ca18a4137 tests: Add test for viewport being terminated by a header 2016-12-12 23:43:02 +01:00
Tomas Babej
3a4de9cdfd tests: Add test for preserving completed task hierarchy 2016-10-23 02:51:54 +02:00
Tomas Babej
f372be76d3 tests: Make viewport inspection tests expect user filter being enclosed in parentheses 2016-09-22 17:44:39 +02:00
Tomas Babej
f96c810ffb tests: Expand test coverage 2015-12-27 12:41:36 +01:00
Tomas Babej
0b91eab70b tests: Tags are now deserialized into sets 2015-12-27 02:56:59 +01:00
Tomas Babej
7d23805ad6 tests: Add tests for a invalid sort order 2015-08-27 06:55:13 +02:00
Tomas Babej
94205fb4ba tests: Add tests for the VISIBLE meta tag 2015-08-27 06:50:28 +02:00
Tomas Babej
c3dd085dde tests: Add test for referencing a non-existent context 2015-08-27 06:43:17 +02:00
Tomas Babej
e121daddb7 tests: Add tests for contexts sourced from TW 2015-08-15 18:33:56 +02:00
Tomas Babej
a9e5fb8bc4 Viewport: Use explicit defaults to replace filterstring derived defaults 2015-08-15 15:16:51 +02:00
Tomas Babej
2592967333 tests: Amend expected default sort order settings 2015-08-13 23:14:54 +02:00
Tomas Babej
f6677a4188 ViewPort: Add sort order to the inspection output 2015-08-11 20:40:36 +02:00
Tomas Babej
bd43412254 tests: Add tests for per-viewport sorting 2015-08-11 19:45:01 +02:00
Tomas Babej
814402f99d tests: Rename test 2015-08-11 19:44:59 +02:00
Tomas Babej
30236f0675 tests: Add tests for multilevel-sorted generation 2015-08-11 19:44:51 +02:00
Tomas Babej
eb287e60c5 tests: Add Test for checking viewport task generation in reversed order 2015-08-11 19:44:49 +02:00
Tomas Babej
b0f0d4b578 tests: Add tests for generation of sorted dependency tree 2015-08-11 19:44:43 +02:00
Tomas Babej
4b2514e731 tests: Add tests for tasks with unicode 2015-08-09 19:12:42 +02:00
Tomas Babej
d5d8e2347e tests: Update viewport inspection assumptions 2015-04-07 00:01:27 +02:00
Tomas Babej
98d8716192 tests: Add test for viewport inspection 2015-04-04 11:12:07 +02:00
Tomas Babej
03ebab5464 tests: Add functional tests for viewports overriding and removing values in default section 2015-03-28 03:03:18 +01:00
Tomas Babej
c55d6ea51c tests: Split into multiple files 2015-03-27 12:16:27 +01:00