Caleb Maclennan
b607006c56
Fix syntax issues that are lint warnings
2019-10-22 17:53:08 +03:00
Jan Larres
d4a08c33e5
Add byte limit for look-behind pattern
...
The TagbarKind syntax match pattern has a zero-width look-behind atom
with unlimited length. This can slow down syntax highlighting. Since in
this case there can only be 1 or 2 characters that get matched, we can
set a limit for the match, thus speeding up the matching.
Since the limit unfortunately works with bytes instead of characters,
use 3 instead of 2 to account for double-width folding characters.
2017-09-12 13:40:46 +12:00
Jan Larres
53e9cb030e
Version 2.7
2017-01-09 17:26:17 +13:00
Jan Larres
e872e67641
Version 2.6.1
2014-01-23 23:17:00 +13:00
Jan Larres
6d8770f949
Version 2.6
2013-12-06 00:27:08 +13:00
Jan Larres
7ec151a7a9
Better quickhelp syntax highlighting
2013-08-22 17:01:19 +12:00
Jan Larres
54b28e4988
Fix TagbarScope pattern
2013-04-24 11:33:30 +12:00
Ingo Karkat
2665695f57
FIX: Avoid matching public / private methods as TagbarKind.
...
When g:tagbar_iconchars = ['+', '-'] (default on Windows), and viewing a filetype (e.g. java) that has visibility information (i.e. the [-+#] sigils), the method is mistakenly highlighted as TagbarKind. Restrict its matches to when the sigil is at the beginning of the line to avoid the false matches at the indented method tags.
2013-04-12 21:22:27 +02:00
Ingo Karkat
32b5b15b52
FIX: Avoid that the sigils used for highlighting match inside a tag.
...
When there's a tag e.g. "foo-bar", the "-bar" part is matched as TagbarKind. Add a zero-width condition to all sigil patterns that allow only whitespace characters before the sigil.
2013-04-12 21:14:23 +02:00
Ingo Karkat
87d293206b
Simplify conversion of g:tagbar_iconchars into regexp.
...
With join() and escape(), the steps can be simplified.
2013-04-12 20:48:08 +02:00
Jan Larres
dec1f840fb
Version 2.5
2013-03-25 22:27:12 +13:00
Jan Larres
feebffcd2a
Always colour signature correctly
2012-11-22 18:43:46 +13:00
Jan Larres
7d836e0c53
Make visibility symbols optional
2012-11-22 18:42:14 +13:00
Jan Larres
0ab07ac566
Use 'visibility' instead of 'access' everywhere exclusively
2012-11-22 18:05:59 +13:00
Jan Larres
6a7f155874
Version 2.4.1
2012-07-16 21:38:20 +12:00
Jan Larres
5ee3143b5a
Version 2.4
2012-06-17 21:19:42 +12:00
Jan Larres
81cfb3f903
Version 2.3
2011-12-24 18:14:54 +13:00
Jan Larres
8e5ce3a3e5
Replace usearrows with iconchars
2011-12-22 18:06:48 +13:00
Jan Larres
4cc123f3f2
Version 2.2
2011-11-26 17:45:08 +13:00
Jan Larres
555be533a4
Display 'kind' headers inside of scopes
2011-11-24 19:22:31 +13:00
Jan Larres
96d0050ea4
Move some tests to autoload
2011-07-15 17:34:47 +12:00
Jan Larres
e84efc3366
Also set scriptencoding in syntax file
2011-06-18 18:54:53 +12:00
Jan Larres
9d5af93a5b
Version 2.1
2011-05-29 19:19:03 +12:00
Jan Larres
a76d07cfeb
Version 2.0.1
2011-04-27 01:03:04 +12:00
Jan Larres
b4ed33c4bc
Version 2.0
2011-04-26 23:31:04 +12:00
Jan Larres
25bbf9b889
Change TagbarScopeType highlight to TagbarType
2011-04-26 02:01:13 +12:00
Jan Larres
8490f6a5c2
Only highlight scopes that have children
2011-04-26 01:56:51 +12:00
Jan Larres
fb1025dcbc
Make highlight syntax definition configurable
2011-04-14 03:59:13 +12:00
Jan Larres
f4f1dcbe3b
Change default highlight for fold icons to make the background colours match
2011-04-09 22:00:00 +12:00
Jan Larres
c581d048ca
Fix fold marker bug on windows
2011-03-29 02:16:48 +13:00
Jan Larres
276fa842dc
Allow using other arrows on windows
2011-03-28 23:02:29 +13:00
Jan Larres
3fdfe14ddb
Check for termencoding just in case
2011-03-28 01:49:51 +13:00
Jan Larres
d256c9976b
Display nice unicode fold icons if possible
2011-03-28 01:29:25 +13:00
Jan Larres
7182f9640e
Implement proper folding support
2011-03-27 03:32:31 +13:00
Jan Larres
518b07de12
Version 1.5
2011-03-06 23:47:27 +13:00
Jan Larres
84121aac7d
Version 1.2
2011-02-28 18:12:36 +13:00
Jan Larres
91deffb04d
Version 1.1
2011-02-26 20:52:40 +13:00
Jan Larres
a18be73b63
Fix syntax highlighting when :syntax enable is called
2011-02-26 19:59:28 +13:00