Tinmarino
40f02293bf
Prettify Syntax: Reduce var name && Move from vars.vim to syntax.vim
2020-08-03 22:21:02 -04:00
Tinmarino
94a78859d7
Refactor: Syntax as region (code, eq, sub, sup, strike) => Fix (Issue #709 )
...
More syntax pattern are defined as regions => Faster, enable nesting
2020-08-03 18:45:46 -04:00
Tinmarino
fb178f8e3c
Fix: Typeface: var_with_undersore triggered syntax italic
2020-08-03 01:00:14 -04:00
Tinmarino
1b16720b7b
Refactor: Syntax highlighting typeface: match -> region: (Issues #847 , #640 )
...
- Less code, Easyer to maintain, to add a markup language
- Faster to load, and to highlight
- Support multiline tags: #847
- Support nested tags
- Support intraword tags: this<b>bold</b>type #640
2020-08-02 03:57:22 -04:00
Tinmarino
5408d74b35
Syntax: Html support nested, concealable tag and faster
...
Use of syntax region => clearer, faster
2020-08-01 22:40:06 -04:00
Chip Senkbeil
6dff2c60a5
Add multiline comment support via %%+ and +%%
2020-08-01 18:18:11 -04:00
Michael F. Schönitzer
ac4d0a1d46
Allow to configure bullet points & status indicators per wiki ( #889 )
...
* Allow the bullet point characters of lists to be configures by the wiki option `bullet_types`. This allows to use other/additional characters for the bullets of lists – including unicode-chars like '→' or '•'. The default values depends on the chooses syntax.
* Allow to configure `vimwiki-listsyms` and `vimwiki-listsym_rejected` on per wiki basis.
* Fix a test for mediawiki syntax
2020-06-04 18:33:12 +02:00
Michael F. Schönitzer
afc868929d
Bugfix: file extension for markdown is syntax wide ( #895 )
...
populate_extra_markdown_vars() contained uses of the file-extension via vimwiki#vars#get_wikilocal. Since the first is syntax-wide and the second is wikilocal and no wiki is specified or open at the moment of the call, the file extension of the first markdown wiki will be used for all markdown wikis. Further problems will occur when adding new wikilocal options, that depend on the syntax.
This commit is working towards separating wiki and syntax, which is needed for several feature requests.
2020-06-02 01:33:06 +02: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
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
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
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
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
203fb5b430
Start refactoring the rest -- part 4
...
Ref #256
2017-01-04 21:53:03 +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
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
EinfachToll
4511bf09e6
Don't highlight absolute links when 'maxhi' is on
...
Ref #105
2015-03-17 10:33:43 +01:00
EinfachToll
8d7d568214
Clean up all file headers
...
- remove author names. There's git blame for this job
- change home from code.google to github
- add short descriptions
2015-02-23 12:10:42 +01:00
Ivan Tishchenko
7bc2fcb3a7
Merge remote-tracking branch 'vimwiki/dev' into 'vimwiki/tags'
...
Conflicts:
doc/vimwiki.txt
ftplugin/vimwiki.vim
2015-02-12 22:20:16 +03:00
EinfachToll
13e76aed2e
<CR> to create a link ignores most punctuation characters now
...
Fix #99
2015-01-14 13:34:33 +01:00