Commit Graph

39 Commits

Author SHA1 Message Date
Fredrik Arnerup
69aa609941 Don't include trailing period in link 2019-02-01 17:43:05 +01:00
EinfachToll
fdc367f725 Check all user settings for correct type, range etc. 2019-01-19 21:05:27 +01:00
EinfachToll
6257c8fa54 Revert "Allow to specify additional chars for lists"
This reverts commit 75819ca23a.
2019-01-17 21:57:42 +01:00
EinfachToll
35d1f23b92 Revert "Allow list symbols to be configured per wiki"
This reverts commit 79c295a92f.
2019-01-17 21:57:40 +01:00
EinfachToll
65b0c97c6d Revert "Update the links when renaming markdown wikis"
This reverts commit 599a0e9083.

Sorry, we can't simply change the syntax of something as basic as a
link, even if the old syntax is wrong. We need to keep Vimwiki
reasonably backwards compatible.
2019-01-16 20:56:49 +01:00
Michael F. Schönitzer
79c295a92f Allow list symbols to be configured per wiki 2019-01-03 21:02:21 +01:00
Michael F. Schönitzer
75819ca23a Allow to specify additional chars for lists
See also #390 and #479 for earlier attempts
2019-01-03 21:02:21 +01:00
Raphael Feng
599a0e9083 Update the links when renaming markdown wikis
Two reasons whey the links in markdown wikis are not updated:
1. The markdown link pattern is wrong, should be []() rather than [][];
2. The logic of getting wiki local var cannot get correct wiki index as:
    a. the renamed file's buffer is removed and %:p would return empty
    b. the function that gets the wiki local var depends on buffer's %:p
    value to find the wiki it belongs to and it would always return -1
    and result in the default option values instead the user's option

The fix is
1. fix the markdown link pattern regex;
2. keep the renamed file's buffer open during the period of updating the link
2019-01-03 13:00:19 +01:00
EinfachToll
d9b6d77e90 Accept '.foo' and 'foo' as value for the ext option 2018-12-17 20:27:15 +01:00
EinfachToll
dcd1c0a364 Make gl* work again
The problem was that map() also changed the given list in-place, that's
not what was intended.
2018-11-19 21:02:37 +01:00
EinfachToll
bddd644fbb Use $HOME instead of ~/ in paths
Apparently, the latter doesn't work on all platforms.
Ref #565
2018-11-07 22:02:30 +01:00
Steven Stallion
d7d94e2160 Initial commit 2018-09-29 20:23:26 +02:00
EinfachToll
9a8854756e Refactoring: simplify and remove some regexes 2018-05-20 15:18:05 +02:00
EinfachToll
c1dbf90c29 Remove foldmarkers; general reformatting 2018-04-20 07:03:53 +02:00
Petrus
65c4ffacca fix missing custom_wiki2html_args default key
Ref #475
2018-04-13 11:03:21 +02:00
EinfachToll
13271541a6 Highlight done and rejected list item the same way 2018-04-03 19:45:19 +02:00
Silvio Ricardo Cordeiro
1c4a9bb1af HTML comments and better TODO
* Allow HTML-style comment syntax

Allow <!-- HTML comments --> in vimwiki's highlight for markdown.

* Avoid matching "TODO" on word boundaries

Do not match e.g. "xTODO:" as if it were "TODO:".
This also lifts the requirement of ":" after these keywords
(it is more flexible to just require a word boundary regardless of what).
2018-04-01 21:45:15 +02:00
EinfachToll
02e8fb3108 Fix: register a default wiki if the user hasn't
Ref #440
Ref #441
2018-02-23 17:39:50 +01:00
EinfachToll
1e858b50cb Cherry-pick the changes from dev -- part7 2018-02-19 07:07:22 +01:00
EinfachToll
73bda6b9ab Cherry-pick the changes from dev -- part3 2018-02-16 18:11:49 +01:00
EinfachToll
19f398c73e Cherry-pick the changes from dev -- part 1 2018-02-16 07:26:42 +01:00
EinfachToll
5419fad3f7 Formatting and small refactorings 2018-02-15 18:38:39 +01:00
EinfachToll
f48dce6f1d Refactor then updating of the known wiki pages
for the 'maxhi' option.
2018-02-14 06:53:46 +01:00
EinfachToll
4e16db926f Fix more regression bugs 2017-11-11 21:52:07 +01:00
EinfachToll
d5ed58f763 Fix a few regression bugs
Ref #256
Fix #301
2017-02-16 21:54:10 +01:00
EinfachToll
31760a7ef7 Fix a few regression bugs
Ref #256
2017-01-16 22:10:28 +01:00
EinfachToll
fea76ace23 Use new access functions for buffer-local variables
Ref #256
2017-01-13 16:33:41 +01:00
EinfachToll
ce5c822072 Start refactoring the rest -- part 6
Ref #256
2017-01-12 21:45:09 +01:00
EinfachToll
b61ff8b5ee Start refactoring the rest -- part 6
Ref #256
2017-01-11 22:12:33 +01:00
EinfachToll
1806d3edfa Start refactoring the rest -- part 5
Ref #256
2017-01-07 21:51:15 +01:00
EinfachToll
203fb5b430 Start refactoring the rest -- part 4
Ref #256
2017-01-04 21:53:03 +01:00
EinfachToll
b82245b09e Start refactoring the rest -- part 3
Ref #256
2016-12-31 20:47:19 +01:00
EinfachToll
7c98ce3934 Start refactoring the rest -- part 2
Ref #256
2016-12-28 22:17:08 +01:00
EinfachToll
c9104fc2c1 Start refactoring the rest -- part 1
Ref #256
2016-12-25 21:35:56 +01:00
EinfachToll
250fd3c47b Use new access functions for wiki-local variables -- part 5
Ref #256
2016-12-23 20:05:53 +01:00
EinfachToll
61910cd93a Use new access functions for wiki-local variables -- part 2
Ref #256
2016-12-22 19:12:03 +01:00
EinfachToll
6221861957 Use new access functions for wiki-local variables -- part 1
Ref #256
2016-12-22 18:16:05 +01:00
EinfachToll
23ee20887a Use new access functions for global variables -- part 3
Ref #256
2016-12-21 22:11:44 +01:00
EinfachToll
6b34e954e8 Add new functions for variable access
Ref #256
2016-12-21 17:09:25 +01:00