Commit graph

12 commits

Author SHA1 Message Date
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