Commit Graph

96 Commits

Author SHA1 Message Date
Rane Brown
75c557bcbc Disable syntax for indented code blocks.
The behavior within lists is not correct.
2020-01-08 06:03:40 -07:00
Tinmarino
d9412218e3 Fix relative paths for VimwikiRenameLink. Merge PR #787.
Fixes #90 

__Problem__: VimwikiRenameLink does not rename dir1/toto url in dir2/tata
because the dirs (dir2 and .) were well crossed but badly inspected.
__Solution__: `blob(.ext*)` -> `glob(**/*.ext)` + find the relative URL

* Fasten: VimwikiRenameLink goes faster with cache
More: To compute old_url regex, use a cache dict because it is the same
for files in the same directories

* Util DeleteHiddenBuffer -> do not delete Vader buffer

* Test: Prettify: Util: teardown delete defined function

* Remove unnecessary trailing spaces
Note: list_VimwikiReturn.vader has some necessary trailing spaces
2020-01-04 21:21:52 -07:00
Rane Brown
3ec0c9cd91 Add markdown syntax support for indented code blocks. 2020-01-03 07:10:02 -07:00
Rane Brown
5cdeb9a682 Improve markdown syntax for fenced code blocks. Closes #764 2020-01-01 10:58:56 -07:00
Rane Brown
1a4e1ed1ae Stylistic changes to pass vint tests.
Two non-stylistic errors were also fixed:
  1. Removed duplicate function with invalid argument usage
  2. Added missing quotes to a function call argument
2019-12-20 20:41:03 -07:00
Rane Brown
d045ad4db0 Modify horizontal rule (thematic-breaks) syntax for markdown.
This change makes the horizontal rule syntax more closely match the
commonmark spec https://spec.commonmark.org/0.29/#thematic-breaks. The
number of characters required was changed to 3 and '___' and '***' where
added as valid sequences. The space rules were not added becuase it adds
extra complexity for little benefit. Issue #664.
2019-05-23 21:59:13 -06:00
Rane Brown
42a1f08ffa Disable spell check in code and math inline/blocks.
For nested syntaxes the default spell behavior will still be used e.g.
spelling in comments will still be checked.
2019-05-23 21:47:14 -06:00
Rane Brown
68233c51eb Handle markdown image links '![]()'. 2019-05-23 21:23:53 -06:00
Rane Brown
cde4703354 Modify regex pattern for markdown links.
Fixes #240. Also fixes a related issue where markdown links where not
correctly highlighted in todo lists. Adds concealment for markdown links
in todo lists.
2019-05-08 20:55:56 -06:00
Patrik Willard
8fbe51d614
Update with review comments 2019-04-09 22:31:41 +02:00
Patrik Willard
a5bda652d0
Add option to not conceal one-character markers
Adds new configuration variable, "conceal_onechar_markers", defaulting
to on (preserving default behaviour)

Adds if-statement around relevant parts of code (as suggested in the
issue), which uses the new configuration variable.

Fix #315 - Don't conceal one-character markers
2019-04-09 08:17:56 +02:00
Rane Brown
c9229244a8 Don't change conceal behavior of wiki elements with max_urlsave option.
Closes #539
2019-03-30 21:52:56 -06:00
Greg Anders
e56c26c7ba Add an option to conceal preformatted text blocks
This merges PR #641.
2019-03-28 14:50:25 -07:00
Rane Brown
32c7f289b7 Fix missing 'T' in syntax definition of VimwikiDelTextT
The missing 'T' character was causing strikethrough ~ characters to be
hidden within tables which is not the desired behavior. Closes #404.
2019-03-21 22:26:42 -06:00
Rane
6b29b6604c Fix bold_italic and italic_bold markdown syntax. 2019-03-14 15:21:04 -06:00
Rane
e26d9fdb8e Fix bold and italic markdown syntax 2019-03-14 14:03:42 -06:00
EinfachToll
6257c8fa54 Revert "Allow to specify additional chars for lists"
This reverts commit 75819ca23a.
2019-01-17 21:57:42 +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
EinfachToll
9a8854756e Refactoring: simplify and remove some regexes 2018-05-20 15:18:05 +02:00
EinfachToll
c6e87ab661 Remove already deactivated emoticons highlighting 2018-04-20 07:06:59 +02:00
EinfachToll
c1dbf90c29 Remove foldmarkers; general reformatting 2018-04-20 07:03:53 +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
b016eab91a Set 'tw' to 99 in all source files. We're not in the middle ages anymore. 2018-02-21 07:11:51 +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
967b342b23 Formatting 2018-02-10 22:04:37 +01:00
EinfachToll
4e16db926f Fix more regression bugs 2017-11-11 21:52:07 +01:00
EinfachToll
31760a7ef7 Fix a few regression bugs
Ref #256
2017-01-16 22:10:28 +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
f497a4abc7 Use new access functions for wiki-local variables -- part 3
Ref #256
2016-12-22 19:55:20 +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
23ee20887a Use new access functions for global variables -- part 3
Ref #256
2016-12-21 22:11:44 +01:00
EinfachToll
49bdf7fa47 Use new access functions for global variables -- part 2
Ref #256
2016-12-21 21:28:48 +01:00
EinfachToll
e6d997867a Use new access functions for global variables -- part 1
Ref #256
2016-12-21 19:43:34 +01:00
EinfachToll
3a5a5ef0ad Prefer the value of nested_syntaxes over detected syntax 2016-05-17 20:29:59 +02:00
EinfachToll
4bd0690a52 Simplify some regexes 2016-03-18 15:16:59 +01:00
EinfachToll
2aeaea5f0d Merge pull request #187 from mMontu/nested
Dynamically detect nested syntaxes (fix #128)
2016-01-28 10:29:53 +01:00
mMontu
a2888692fd Option for automatic detection of nested syntaxes 2016-01-27 13:30:30 -02:00
mMontu
fc947523b0 Dynamically detect nested syntaxes (fix #128) 2016-01-27 10:14:49 -02:00
EinfachToll
9be96884ba Remove g:VimwikiLog and the timing stuff
For profiling, there is Vim's :profile command
2015-12-07 12:29:25 +01:00
EinfachToll
2a70e1517e Remove g:vimwiki_debug, which probably nobody used 2015-12-07 12:27:32 +01:00
EinfachToll
a043e7d973 Don't allow ' in tags
Ref #85
2015-11-11 12:56:28 +01:00
EinfachToll
977f234f6d Allow tags in markdown and mediawiki syntax as well
Ref #85
2015-11-11 12:01:01 +01:00
Ivan Tishchenko
28114d8c85 Merge remote-tracking branch 'upstream/dev' into 'upstream/tags'
Conflicts:
	autoload/vimwiki/base.vim
2015-03-25 21:33:19 +03:00