Commit graph

69 commits

Author SHA1 Message Date
Tomas Janousek
15ce16f24c Revert "tests: Use explicit coverage tracking"
This reverts commit b00e886142.

This fixes reporting of coverage by the few tests that run outside of
vim.

The commit that is being reverted doesn't explain why it was committed,
and the git history suggests it was reverted once and then reintroduced
later again. None of those commits explains the why. I can only guess
that the last time this was committed was an attempt to fix coverage
reporting to outside of docker, which it didn't, and additionally it
made coverage gathering less robust (see previous commit). So this is
yet another fix for the inaccurate coverage reporting.

Or maybe it was because `--cov` without `=taskwiki` an argument reports
coverage for tests instead of taskwiki code? Nevermind, I guess, now it
works well.
2020-07-08 21:36:52 -04:00
Tomas Janousek
698e2448f3 tests: Fix vimwiki loading errors
Not only can we stop ignoring the errors, this also fixes
TestInfoActionNotTriggeredByEnterOnLink which would otherwise cause vim
to complain about g:vimwiki_wikilocal_vars not being available.
2020-07-02 09:51:56 -04:00
mrossinek
c5310126fa
Change mappings to disallow remaps (fixes #182) 2019-02-24 12:02:13 -05:00
mrossinek
879853becc
Add maplocalleader option 2019-02-24 12:02:12 -05:00
mrossinek
e82813e03b
Add mapping-suppressing option 2019-02-24 12:01:54 -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
Tomas Babej
b00e886142
tests: Use explicit coverage tracking 2018-07-31 03:46:58 -04:00
Igor Line
0c964460e6 Fixes filename and path in ftplugin to avoid conflict with vimwiki and
specific plugin managers
2017-10-10 01:03:01 -04:00
Philipp Weißmann
406041c868 Fix <CR> mapping (use nnoremap instead of nmap)
This fixes non-working <CR> key to follow vimwiki links / display task infos
2017-05-23 14:44:48 +02:00
Tomas Babej
6bcc93cfe6 plugin: Fix stupid copy-paste error 2017-03-17 17:11:35 +01:00
Tomas Babej
cf3789f074 plugin: Prefer python3 over python2 by default 2017-03-16 12:26:39 +01:00
Bodo Graumann
0c06e02a0e BufEnter: load cache of current buffer
This fixes issue #116.
2017-01-27 22:23:33 +01:00
Bodo Graumann
8f51f2f4c2 main: Use one cache object for each buffer 2017-01-27 22:23:33 +01:00
Tomas Babej
886b90df67 ftplugin: Add vim command and mappings for the redo method 2017-01-11 09:52:36 +01:00
Tomas Babej
21b766134f coverage: Explicit coverage tracking no longer needed 2017-01-09 00:38:24 +01:00
Tomas Babej
590749d1aa ftplugin: Default to python3 for neovim 2017-01-07 18:53:53 +01:00
Tomas Babej
be0cfed86c python3: Use global variables for py/pyfile so they are accessible from within pyton too 2016-12-16 04:16:46 +01:00
Tomas Babej
8f4a87e16e ftplugin: Fix invalid quotation level 2016-12-16 04:11:10 +01:00
Tomas Babej
91af39e17e ftplugin: Support both +python and +python3 2016-12-16 03:27:35 +01:00
Tomas Babej
d360f67b80 Reset cache after entering a new buffer 2016-12-12 23:43:24 +01: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
a27d05a512 taskwiki: Make the plugin a proper Python module 2016-05-11 18:52:51 +02:00
Philipp Hack
64a6852eac Added option to disable fold saving 2015-12-22 17:29:44 +01:00
Tomas Babej
34c4119c64 folds: Preserve folding of the taskwiki files 2015-09-18 07:07:50 +02:00
absala
0ec4d1d4f8 small: typo 2015-09-10 23:07:00 +02:00
Tomas Babej
3641ac227e taskwiki: Add TaskWikiSort command 2015-08-13 23:14:48 +02:00
Tomas Babej
8054bbd423 ftplugin: Execute TaskWikiBufferSave instead of direct call 2015-08-13 23:14:26 +02:00
Tomas Babej
86d2e60e20 commands: Add TaskWikiBufferSave and TaskWikiBufferLoad commands 2015-08-13 02:11:46 +02:00
Tomas Babej
5a5b5b3c91 base: Check for 3rd-party requirements 2015-07-16 01:38:40 +02:00
Tomas Babej
5c9a0b0b32 mappings: Add mappings fo visual mode 2015-04-23 10:19:12 +02:00
Tomas Babej
13177a92e3 taskwiki: Add taskwiki_disable variable check that allows for a quick flexible taskwiki turnoff 2015-04-22 20:16:56 +02:00
Tomas Babej
dfaef302f1 taskwiki: Add ChoosSplitTags command 2015-04-10 17:19:45 +02:00
Tomas Babej
4630c371ec keymaps: Add mappings for TaskWikiChooseProject command 2015-04-10 17:04:18 +02:00
Tomas Babej
f3331986f4 mappings: Fix mapping for TaskWikiCalendar 2015-04-09 17:09:28 +02:00
Tomas Babej
43ede329d5 taskwiki: Add command mappings using leader 2015-04-06 22:41:55 +02:00
Tomas Babej
588e514e93 taskwiki: Add TaskWikiDone command 2015-04-06 20:40:36 +02:00
Tomas Babej
31f73086c9 coverage: Measure more properly by invoking the measurements in a separate python file 2015-04-04 11:39:03 +02:00
Tomas Babej
f6d28bab4c taskwiki: Add TaskWikiInspect command 2015-04-02 06:32:29 +02:00
Tomas Babej
7c9bcaf129 commands: Fix copy-paste error that executed Ghistory commands instead of History commands 2015-03-27 13:40:13 +01:00
Tomas Babej
5c6b91dd06 taskwiki: Add TaskWikiAnnotate method 2015-03-26 23:15:04 +01:00
Tomas Babej
50b42e6a34 taskwiki: Add TaskWikiGrid command 2015-03-25 08:07:33 +01:00
Tomas Babej
076d6e4a8b taskwiki: Add TaskWikiEdit command 2015-03-24 20:42:41 +01:00
Tomas Babej
31d5b718c1 syntax: Improce concealment 2015-03-23 12:50:49 +01:00
Tomas Babej
6a5432a677 taskwiki: Add TaskWikiStop command 2015-03-23 10:18:23 +01:00
Tomas Babej
f083e437f1 taskwiki: Add TaskWikiStart command 2015-03-23 09:34:00 +01:00
Tomas Babej
108f461bf3 taskwiki: Add TaskWikiStats and TaskWikiTags commands 2015-03-22 20:43:06 +01:00
Tomas Babej
a789954206 taskwiki: Add history related commands 2015-03-22 19:42:40 +01:00
Tomas Babej
1788ae1987 taskwiki: Add ghistory related commands 2015-03-22 19:34:40 +01:00