Commit graph

847 commits

Author SHA1 Message Date
Tomas Babej
8f60591714 python3: Add missing import 2016-12-16 04:11:10 +01:00
Tomas Babej
dd0d4203f1 python3: Make tests work 2016-12-16 04:11:09 +01:00
Tomas Babej
ea04716147 python3: Solve encoding/decoding discrepancies 2016-12-16 03:52:43 +01:00
Tomas Babej
ccf4ee1c43 python3: Data from the vim need to be decoded 2016-12-16 03:52:04 +01:00
Tomas Babej
edb148cad4 python3: Data structures accesed from vim return bytes 2016-12-16 03:46:37 +01:00
Tomas Babej
d0014a47a2 python3: Do not use py/pyfile commands directly 2016-12-16 03:44:30 +01:00
Tomas Babej
5e96c86036 python3: Materialize dict.keys() into a list 2016-12-16 03:43:45 +01:00
Tomas Babej
d60851f27d python3: Correctly use relative imports 2016-12-16 03:43:20 +01:00
Tomas Babej
9e3382946d python3: Use items instead of iteritems 2016-12-16 03:42:03 +01:00
Tomas Babej
29c6c1d29c python3: Use six.text_type instead direct unicode/str 2016-12-16 03:40:42 +01:00
Tomas Babej
91af39e17e ftplugin: Support both +python and +python3 2016-12-16 03:27:35 +01:00
Tomas Babej
0895405ff6 README: Fix minor markdown formatting issue 2016-12-13 00:50:39 +01:00
Tomas Babej
035ccb2355 regexp: Minor formatting 2016-12-13 00:27:24 +01:00
Tomas Babej
7459eee088 tests: Fix tests to expect new default ordering 2016-12-13 00:27:24 +01:00
Alex
68558119ca Add option to disable concealcursor changes (#107)
* Add option to disable concealcursor changes

* option `taskwiki_disable_concealcursor`
* fixes #106

* Set `conceallevel=3` regardless of `taskwiki_disable_concealcursor`
2016-12-13 00:17:28 +01:00
Tomas Babej
d360f67b80 Reset cache after entering a new buffer 2016-12-12 23:43: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
0f50979a42 VimwikiTask: Any header terminates search for viewport 2016-12-12 23:39:17 +01:00
Tomas Babej
c474a7c958 edit: Make edit command support alternate data location, if specified 2016-12-12 23:27:32 +01:00
Tomas Babej
770beb460a constants: Change default sort order
This will allow the list to keep completed tasks in the order they were
completed.
2016-11-02 22:46:59 +01:00
Tomas Babej
3a4de9cdfd tests: Add test for preserving completed task hierarchy 2016-10-23 02:51:54 +02:00
Tomas Babej
40f90da404 vwtask: Do not skip completed tasks when regenerating dependencies 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
07cbe55c72 regexp: Require non-empty filter and defaults matches in the viewport 2016-09-22 17:42:13 +02:00
Tomas Babej
29446329c8 Merge pull request #102 from jbaum98/bugfix-101
Fix #101
2016-09-22 17:34:47 +02:00
Jake Waksbaum
91ecffc6b3 Update tests 2016-09-22 10:20:36 -04:00
elliottw
863e652c86 Update taskwiki.txt (#103)
Fixes typo in the documentation.
2016-09-22 07:11:07 +02:00
Jake Waksbaum
5df6a4c3bb Fix #101
Add an extra open and closing parenthesis token to `taskfilter_args`
to ensure that default filtering conditions are ANDed to the entire
user provided filter.
2016-09-21 02:15:48 -04:00
Tomas Babej
5572b4f359 syntax: Define syntax elements from waiting and recurring tasks 2016-05-23 21:20:18 +02:00
Tomas Babej
72adb2d258 vwtask: Add R and W task marks 2016-05-23 21:19:48 +02:00
Tomas Babej
eea316ada4 vwtask: Simplify information setting derived from the completed mark 2016-05-23 21:19:27 +02:00
Tomas Babej
70acaeb319 tests: Cover buffer -> task status propagation 2016-05-23 11:34:39 +02:00
Tomas Babej
d43a8e8897 vwtask: Consolidate buffer->task status setting from status mark 2016-05-23 11:31:36 +02:00
Tomas Babej
cf140bbbc0 syntax: Allow regular vimwiki syntax elements inside TaskWikITask 2016-05-23 10:24:59 +02:00
Tomas Babej
6806c26589 folding: Make sure SessionLoadPost event does not visibly error out
The SessionLoadPost event is fired mainly for other plugins to register
that a view has been created. However, if no autocmd listens to
SessionLoadPost, vim provides an error message. Hence we need to supress
the output of this call.
2016-05-23 10:00:21 +02:00
Tomas Babej
74a81250c3 folds: Make sure the missing views do not raise exceptions 2016-05-14 22:35:03 +02:00
Tomas Babej
9feb8f0dcd syntax: Fire a SessionLoadPost event after the view is loaded 2016-05-12 15:56:32 +02:00
Tomas Babej
3b7f4cf6b0 syntax: Support knowledge-like headers in fold text captions 2016-05-12 15:56:06 +02:00
Tomas Babej
d16ea12c09 short: Move ShortUUID to a separate module 2016-05-11 19:33:43 +02:00
Tomas Babej
87f8550676 modules: Break module dependency cycle 2016-05-11 19:03:51 +02:00
Tomas Babej
a27d05a512 taskwiki: Make the plugin a proper Python module 2016-05-11 18:52:51 +02:00
Andrey
496bcaccda Fix access to vim.buffers list when it is sparse, e.g. in neovim (#97) 2016-04-29 05:54:52 +02:00
Tomas Babej
9b684191ea BufferProxy: Neovim numbers buffers from 0 when using API 2016-04-27 21:09:21 +02:00
Tomas Babej
7a571e247c errors: Use VimPrettyException to denote printable vim exception
Using the same naming convention as in the 'knowledge' vim plugin allows
us to use the both plugins for the same filetype, while preserving
behaviour.
2016-04-27 20:43:31 +02:00
Tomas Babej
97d83de02b taskwiki: Reset the cache 2016-04-20 21:00:05 +02:00
Tomas Babej
f4c314e8cc SelectedTask: Push the buffer after stopping a task 2016-04-20 19:24:26 +02:00
Tomas Babej
cda27d960e BufferProxy: Fix wrong argument order 2016-04-20 19:02:20 +02:00
Tomas Babej
0d1a457506 tests: Amend tests with respect to BufferProxy introduction 2016-04-20 18:45:24 +02:00
Tomas Babej
3417f01050 BufferProxy: Do not use current buffer, rather store buffer number 2016-04-20 18:44:31 +02:00
Tomas Babej
353fdb7ed8 BufferProxy: Make current-buffer specific to allow picking
The Vim's buffer objects cannot be picked, hence we need to not
reference them in any way in the cache object, and transitively,
in the BufferProxy.

Makes BufferProxy use vim.current.buffer global variable instead.
2016-04-19 21:07:55 +02:00