Commit graph

888 commits

Author SHA1 Message Date
Tomas Babej
3e602cee98 ci: Drop older Vim versions from the test matrix
These vesions are being dropped from the matrix due to their age (5+
years) and due to the fact that the CI as the current build process
fails for them.

However, I would still expect them to work until we start relying on
modern (9.0+ or newer) Vim features.
2025-06-13 22:34:40 -04:00
Tomas Babej
09eadba27c Dockerfile: Be explicit about ncurses usage when building vim
Otherwise the build fails on Alpine 3.22.
2025-06-13 22:25:26 -04:00
Tomas Babej
9c515dbcca Dockerfile: Update defaults 2025-06-13 22:13:27 -04:00
Tomas Babej
b95931f222 ci: Drop unsupported Python 3.8 2025-06-13 22:13:16 -04:00
Tomas Babej
e1a774ca3e ci: Update the CI matrix 2025-06-13 21:39:38 -04:00
Tomas Babej
0a4d31f591 ci: Use docker compose v2
The docker-compose is no longer available in checkout@v2. Use the v2
`docker compose` instead.
2025-06-13 21:36:30 -04:00
Tomas Babej
dec48e31c5 tests: Use xunit-style setup_method/teardown_method instead of nose-like convention
This was also independently noted by Nikolaos Kakouros
@nkakouros in https://github.com/tbabej/taskwiki/pull/271
2025-06-13 21:01:21 -04:00
Tomas Babej
dda917204b IntegrationTest: Support most modern maintainer line 2025-06-13 21:01:21 -04:00
Tomas Babej
6f5f641ceb ftplugin: Fix whitespace indentation 2025-06-13 21:01:21 -04:00
Tomas Babej
613d038ca3 Dockerfile: Use pre 3.0 release for now
Upgrading to 3.0 requires change to the build process.
2025-06-13 21:01:21 -04:00
Tomas Babej
f4868e7b4a tests: Replace references to now deprecated local_zone in tasklib
This was also independently noted by Nikolaos Kakouros
@nkakouros in https://github.com/tbabej/taskwiki/pull/271
2025-06-13 21:01:21 -04:00
Roland Seitz
74c7643366 Accept lowercase 'x' as task complete mark 2025-06-13 19:08:48 -04:00
Nadav Spiegelman
0ee63dd1f5 Apply g:taskwiki_suppress_mappings to <cr> mapping
Up until now, g:taskwiki_suppress_mappings could be used to supress the
leader keys, but it did nothing to the <cr> mapping
(task_info_or_vimwiki_follow_link())
2024-02-29 02:33:13 -05:00
ryspace
7a74ad8ed3 Docs: Fix missing } in -features-warriors
The Example line in the documentation for `taskwiki-features-warriors` is missing a closing curly brace. This would cause one's editor to complain about a missing comma.
2022-12-14 22:50:54 +00:00
Xing Shi Cai
c8e379f8ac Try to fix https://github.com/tools-life/taskwiki/issues/413 with backward compatibility 2022-10-21 14:05:55 -04:00
Xing Shi Cai
86f75f6889 Fix https://github.com/tools-life/taskwiki/issues/413 2022-10-21 14:05:55 -04:00
Tomas Babej
22557e7d42 Dockerfile: Configure cloned folder as safe dir to enable coveralls report 2022-06-28 09:12:37 -04:00
Tomas Babej
ef1375af02 tests: Replace vim 7.4 with vim 9.0 in the matrix
Vim 8.0 was released in 2016, which should be sufficient backwards
compatibility. We still support 7.4, but will not run it in the CI going
forwards too keep the test matrix sane.
2022-06-28 09:08:16 -04:00
Tomas Babej
ce42474979 Dockerfile: Backport Python detection fix for 3.10 and above 2022-06-28 09:05:32 -04:00
Tomas Babej
cbdf0dc9a9 Dockerfile: Be more explicit enabling python in vim 2022-06-28 08:57:37 -04:00
Tomas Babej
9744bd05f1 tests: Update the test matrix to use latest patch versions of vim
Use the latest patch version for each given minor release.
2022-06-28 01:25:13 -04:00
Tomas Babej
8f298cf0cd Dockerfile: Add a font package to allow gvim to run inside of the container 2022-06-27 18:27:48 -04:00
Tomas Babej
29f5916230 util: Replace LooseVersion with packaging.version.parse
The distutils module is deprecated.
2022-06-27 17:59:39 -04:00
Tomas Babej
925d8ed2f5 README: Adjust old tasklib install instructions 2021-10-24 17:22:39 -04:00
Tomas Babej
25d47074a5 Dockerfile: Bump alpine version 2021-10-10 11:40:13 -04:00
Tomas Babej
a54dcacc57 Dockerfile: Bump default Python and task versions 2021-10-10 11:20:42 -04:00
Tomas Babej
e6b859d3b0 ci: Fix Python 3.10 version
The YAML spec interprets 3.10 as 3.1, hence we need to pass an explicit
string value. I was aware of this problem, but still made this mistake.
2021-10-10 11:18:23 -04:00
Tomas Babej
bdba08ee4f
meta: Update requirements for tasklib 2021-10-10 10:37:46 -04:00
Tomas Babej
b16922040b
ci: Expand test matrix 2021-10-10 10:37:45 -04:00
Tomas Janousek
c4392c36c0 ci: Revert unnecessary part of the coveralls "fix"
We already set this via the COVERALLS_SERVICE_NAME environment variable
in the GitHub Actions workflow, as it's really specific to GHA.

And as it turns out, the fix wasn't really necessary anyway as the
Coveralls.io infrastructure was just temporarily down.

Fixes: d98d5b18ac ("ci: Fix coveralls submission")
2021-09-22 17:20:21 +02:00
Tomas Babej
d98d5b18ac ci: Fix coveralls submission
See [0] for reference.

[0]: https://github.com/lemurheavy/coveralls-public/issues/1435
2021-09-22 06:49:09 -04:00
Tomas Babej
507addcfbf meta: Bump tasklib requirements
This is required to support newest tzlocal 3.0.
2021-09-22 06:49:09 -04:00
Jasha
70b33f336a add documentation for the new taskwiki_dont_fold toggle 2021-09-20 20:50:24 -04:00
Jasha
5e125960c9 add toggle to disable custom folding for vimwiki files 2021-09-20 20:50:24 -04:00
Tomas Babej
146d0891a6 VimwikiTask: Fix tab handling
Tabs were not correctly accounted for when searching for the parent
task.

Closes #352.
2021-09-18 15:06:52 -04:00
Kaushik Gopal
832293f9f7 specifiy requirements.txt file location explicitly
I ran into a similar snag as https://github.com/tools-life/taskwiki/discussions/332 and realized that more folks might help with the additional tip on where the `requirements.txt` file is located.
2021-08-13 18:24:37 -04:00
Nikolaos Kakouros
f9a1e6ab9f Removes whitespace from urgency marker highlighting
Co-authored-by: Tomáš Janoušek <tomi@nomi.cz>
2021-06-26 20:16:46 -04:00
Tomas Babej
c5d6f58ab9 docs: Document TaskWikiToggle 2021-06-21 19:13:40 -04:00
Tomas Babej
b972e901c7 ftplugin: Expose TaskWikiToggle as a vim command 2021-06-21 19:13:40 -04:00
Tomas Babej
47f7f24b17 SelectedTasks: Implement TaskWikiToggle 2021-06-21 19:13:40 -04:00
Tomas Babej
29bc9aa20c tests: Add test for TaskWikiToggle 2021-06-21 19:13:40 -04:00
Wojciech Francuzik
48e24b03c0 include info about pynvim
I was lost because TaskWiki would not work with my nvim. It turned out that my python3 provider was not available. Installing this dependency - pynvim, solved the issue. I hope I can save other nvm users time by providing this info.
2021-05-22 07:39:05 -04:00
salman69e27
ae28d398d5 Basic inspect functionality for preset headers 2021-05-22 07:38:48 -04:00
Tomas Babej
23a3c20a7d
LICENCE: Update copyright 2021-04-02 22:41:20 -04:00
Jonathan Dowland
67e5444cdf Only adjust conceallevel if taskwiki_disable_concealcursor unset
`g:taskwiki_disable_concealcursor` is used to control whether or not
Taskwiki sets `concealcursor`. Move the setting of `conceallevel` to
also dpend upon `g:taskwiki_disable_concealcursor`, the reasoning
being that if the user does not want Taskwiki to set `concealcursor`,
they most likely don't want `conceallevel` changed either.

Fixes #325.
2021-04-02 22:37:28 -04:00
Nikolaos Kakouros
a3ae9c52cd Adds count viewport setting 2021-01-28 20:54:48 -05:00
Tomas Janousek
72397a8c23 tests: Workaround for recent coveralls-python breaking GH Actions
https://github.com/TheKevJames/coveralls-python/issues/252
2021-01-14 15:10:17 -05:00
Tomas Janousek
b5094a70f2 tests: Update test matrix
There's no 2.5.x branch any more. Change the default to master, i.e. the
latest release, now that the branch actually reflects the release and
no longer includes patches accidentally merged to the wrong branch.

Keep v2.5.1 around just for safety as it probably is the most widely
used release around.

Would be nice if the 2.6.0 branch was named dev or devel and wasn't
about to disappear as soon as 2.6.0 is released... :-/
2021-01-14 15:10:17 -05:00
Ben Harris
b280e28ac8 Update README.md
Add a bit of explanation for the supported markdown syntax.
2020-12-30 08:17:25 -05:00
Tomas Janousek
4c7cc5f551 completion: Fix omni completion of non-ascii tasks
vim uses bytes as column offsets, so we need to work with encoded
strings instead.
2020-12-29 18:16:19 -05:00