Commit graph

20 commits

Author SHA1 Message Date
Stephan Seitz
c41b6e9197 Fix #286: Highlight C++ raw_string_literal 2020-08-13 09:48:07 +02:00
Stephan Seitz
1301884e97 C++: locals template_declaration must define their own scope in which the template arguments are valid 2020-07-27 15:20:04 +02:00
Stephan Seitz
496b175d05 C++ locals: add variadic as @definition.var 2020-07-20 09:00:07 +02:00
Stephan Seitz
95d3ce23c6 C++ highlights: Add decltype keyword 2020-07-20 09:00:07 +02:00
Stephan Seitz
58d52ea62d C++ highlights: Highlight variadic parameters 2020-07-20 09:00:07 +02:00
Stephan Seitz
58c6d2a73f Attach kind of reference to query result instead of using subfields
This makes smart_rename work also for types out of the box and we don't
need to search for the path of actual node.
2020-07-20 08:55:53 +02:00
Stephan Seitz
b480d25155 feat(textobjects): Add start to include preceding things like documentation 2020-07-15 20:12:52 +02:00
Stephan Seitz
5e83307a43 Add C/C++ textobjects 2020-07-14 22:34:43 +02:00
Stephan Seitz
faa413287c Cpp locals: Fix syntax 2020-07-13 23:29:15 +02:00
Stephan Seitz
a027ffbe82 Add rust locals.scm 2020-07-13 22:25:33 +02:00
Stephan Seitz
f803c74ebc C/C++ highlights: Small improvements for type definitions 2020-07-13 21:29:49 +02:00
Thomas Vigouroux
7bb0d7548d highlight(c): fix booleans and types 2020-07-09 14:48:39 +02:00
Stephan Seitz
63c1853674 C/C++ highlights: update to new syntax
This changed the highlight of "switch" to conditional and of "break" to repeat.
2020-07-05 19:48:02 +02:00
Stephan Seitz
07cd0b4d8c C++ locals: Add reference_declarator (analogous to pointer_declarator for C locals) 2020-07-04 21:03:48 +02:00
Stephan Seitz
2d224ac3bf Fix cpp-highlights: wrong capture name used in regex 2020-06-26 19:37:12 +02:00
Stephan Seitz
8bc00cf02a Change regexes in C/C++ highlights 2020-06-15 11:51:28 +02:00
Stephan Seitz
a5fc7b13cc Update C/C++ highlights to new query syntax 2020-06-15 11:51:28 +02:00
Stephan Seitz
148ad160e8 Make =,~,! operators in C highlights 2020-06-15 11:51:28 +02:00
Stephan Seitz
1badceea81 Add cpp/locals.scm 2020-06-15 11:51:28 +02:00
Stephan Seitz
167ce6339f Add C++ highlights.scm 2020-06-15 11:51:28 +02:00