Thomas Vigouroux
|
d5e11c41cf
|
fold(c): ignore compound statements
|
2020-09-01 21:51:17 +02:00 |
|
Thomas Vigouroux
|
545e5c479a
|
fix(fold): revamp fold
fix(fold): typo
fix(fold): remove debug and add queries
fix(fold): fallback to local scopes for folds
|
2020-09-01 21:51:17 +02:00 |
|
Stephan Seitz
|
1cdf8bf750
|
C highlights: make preproc_defined @function.macro
|
2020-08-30 10:53:41 +02:00 |
|
Stephan Seitz
|
5f37847dd8
|
C highlights: add bitwise-xor operator
|
2020-08-27 07:30:02 +02:00 |
|
Stephan Seitz
|
32fdbe519e
|
feat(c/cpp highlights): highlight pointer/reference parameters
|
2020-08-24 09:54:26 +02:00 |
|
Steven Sojka
|
cab8717959
|
chore(highlights): remove is predicate usage
|
2020-08-17 19:27:35 +02:00 |
|
Stephan Seitz
|
5cfa03f2bd
|
Textobjects: add swap feature
|
2020-08-17 17:44:40 +02:00 |
|
Steven Sojka
|
579c9936d6
|
feat(highlights): add is predicate
|
2020-08-16 09:04:07 -05:00 |
|
Stephan Seitz
|
1d178d75ea
|
C/C++ locals: Make field_identifier a reference
|
2020-07-27 14:57:14 +02:00 |
|
Stephan Seitz
|
64ebd4128e
|
C highlights: Add operator "%"
|
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 |
|
Thomas Vigouroux
|
85d2f9ee93
|
highlights: some fixes
Add `goto` keyword for C.
Fix typo for lua.
|
2020-07-16 10:49:49 +02:00 |
|
Stephan Seitz
|
5e83307a43
|
Add C/C++ textobjects
|
2020-07-14 22:34:43 +02:00 |
|
Stephan Seitz
|
69cabc69be
|
Add textobjects module
|
2020-07-14 22:34:43 +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 |
|
Thomas Vigouroux
|
255d1756b0
|
highlights(c): highlight ternary as conditional
|
2020-06-30 08:54:54 +02:00 |
|
Stephan Seitz
|
d724073401
|
C highlights: Make ? an operator in c highlights
|
2020-06-30 08:54:54 +02:00 |
|
Stephan Seitz
|
54438439e6
|
C highlights: Add highlight for #elif
|
2020-06-28 12:15:09 +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
|
e46baab8ca
|
Add better highlighting for preprocessor functions in C highlights
|
2020-06-15 11:51:28 +02:00 |
|
Stephan Seitz
|
d88db9d718
|
Add operators /=,*=,|=,&= to C highlights
|
2020-06-15 11:51:28 +02:00 |
|
Stephan Seitz
|
95f4e10a62
|
Add compound_statement to c queries
|
2020-06-15 11:51:28 +02:00 |
|
Stephan Seitz
|
a0b912ff8a
|
Add punctuation.bracket/punctuation.delimiter to C highlights
|
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
|
b95e0af73b
|
Add @error highlight to c/highlights.scm
|
2020-06-15 11:51:28 +02:00 |
|
Stephan Seitz
|
167ce6339f
|
Add C++ highlights.scm
|
2020-06-15 11:51:28 +02:00 |
|
Stephan Seitz
|
9f2f792bcd
|
Some improvements to c/locals.scm
- Fix function scope (was declaration only without body)
- Use @definition.var like the other local files
- Add translation_unit scope
|
2020-05-23 22:23:29 +02:00 |
|
Thomas Vigouroux
|
92aafcf51c
|
queries: add C queries
Also add a missing `field` capture in locals query.
|
2020-05-16 14:47:17 +02:00 |
|