summaryrefslogtreecommitdiff
path: root/queries
AgeCommit message (Collapse)Author
2020-07-08Python locals/highlights: Parameters can be optionally typedStephan Seitz
2020-07-08Add Rust queries (#57)Thomas Vigouroux
* queries(rust): add highlight query. Also slightly changes the way constructors are highlighted. * highglight(rust): use new query syntax
2020-07-05C/C++ highlights: update to new syntaxStephan Seitz
This changed the highlight of "switch" to conditional and of "break" to repeat.
2020-07-04C++ locals: Add reference_declarator (analogous to pointer_declarator for C ↵Stephan Seitz
locals)
2020-07-01feat(javascript): add import specifier as definitionSteven Sojka
2020-07-01locals(lua): capture function definition paramsThomas Vigouroux
2020-07-01highlights(lua): update query to new syntaxThomas Vigouroux
2020-07-01Java highlights: Add binary integer literalsStephan Seitz
2020-06-30highlights(c): highlight ternary as conditionalThomas Vigouroux
2020-06-30C highlights: Make ? an operator in c highlightsStephan Seitz
2020-06-30Java highlights: Add operators ":" "?"Stephan Seitz
2020-06-30Java highlights: Add parameter highlight for single-parameter lambdasStephan Seitz
2020-06-30refactor(refactor): use higher local apis and some cleanupSteven Sojka
2020-06-30feat(refactor): highlight usages moduleSteven Sojka
2020-06-30add python asynckiyan42
2020-06-29Add method reference operatorChinmay Dalal
2020-06-29Java highlights: Capture parameters in declaration (#93)Chinmay Dalal
* Capture parameters in declaration * Refactor (new syntax) * Fix spaces * Fix capture (java method parameters) * Improve java parameter capture * Fix bracket and whitespace * Fix java query * Fix java query Co-authored-by: Thomas Vigouroux <39092278+vigoux@users.noreply.github.com> * Add capture for lambda parameters, remove redundant captures, add -> operator * Previous commit wasn't saved properly * Fix formatting * Changes suggested in PR https://github.com/nvim-treesitter/nvim-treesitter/pull/93#pullrequestreview-435630553 * Add bitwise operators * Re-add builtin operators * remove left shift, add ^= * Add &= and |= * remove @variable * Remove duplicate Co-authored-by: Thomas Vigouroux <39092278+vigoux@users.noreply.github.com>
2020-06-28C highlights: Add highlight for #elifStephan Seitz
2020-06-26Fix cpp-highlights: wrong capture name used in regexStephan Seitz
2020-06-26Python highlights: Reset highlighting in f-string interpolationStephan Seitz
This solution is preferable to `(identifier) @Normal` since otherwise everything without highlight will use string-highlighting.
2020-06-26Python highlights: Add walrus operatorStephan Seitz
2020-06-24Adapt Python highlights to new query syntaxStephan Seitz
2020-06-23add highlight queries for bashTravonteD
2020-06-23Fix the ":" in symbols when used in pairsTravonteD
This fixes the colon not being highlighted when a symbol is represented in a pair like so: symbol: true
2020-06-21Add highlighting of dunder identifiers (e.g. __all__, __add__) to Python ↵Stephan Seitz
highlights
2020-06-21Merge pull request #72 from doubleloop/pythonStephan Seitz
Updated python highlights
2020-06-21Updated python highlightsJakub Łuczyński
* allow for digits in constant names * removed redundant/conflicting rules * added missing hlmap * fixed escape_sequence * more explicit @constructor assignment * added rules for function decoration identifiers
2020-06-20refactor: use newly introduced consolidated syntaxTravonteD
2020-06-17Merge pull request #88 from PitcherTear22/masterThomas Vigouroux
Give credits for java queries
2020-06-17Give creditsChinmay Dalal
2020-06-17Give creditsChinmay Dalal
2020-06-15Merge pull request #87 from steelsojka/fix/js-boolean-fixKiyan Yazdani
fix(javascript): set booleans to boolean highlights
2020-06-15Merge pull request #86 from steelsojka/feat/jsonKiyan Yazdani
feat(lang): add json highlights
2020-06-15feat(lang): add json highlightsSteven Sojka
2020-06-15fix(javascript): set booleans to boolean highlightsSteven Sojka
2020-06-15Merge pull request #85 from PitcherTear22/masterThomas Vigouroux
Add java support
2020-06-15Fix typesChinmay Dalal
2020-06-15Add operatorsChinmay
2020-06-15Fix method highlightingChinmay
2020-06-15chore(queries): use inherited queries for ts/jsSteven Sojka
2020-06-15Merge branch 'master' into feat/typescript-queriesSteven Sojka
* master: Change regexes in C/C++ highlights Update C/C++ highlights to new query syntax Add better highlighting for preprocessor functions in C highlights Add operators /=,*=,|=,&= to C highlights Add compound_statement to c queries Add punctuation.bracket/punctuation.delimiter to C highlights Make =,~,! operators in C highlights Add cpp/locals.scm Add @error highlight to c/highlights.scm Add C++ highlights.scm Introduce base languages for queries Add tree-sitter-regex feat(queries): allow for user overrides Update issue templates
2020-06-15Change regexes in C/C++ highlightsStephan Seitz
2020-06-15Update C/C++ highlights to new query syntaxStephan Seitz
2020-06-15Add better highlighting for preprocessor functions in C highlightsStephan Seitz
2020-06-15Add operators /=,*=,|=,&= to C highlightsStephan Seitz
2020-06-15Add compound_statement to c queriesStephan Seitz
2020-06-15Add punctuation.bracket/punctuation.delimiter to C highlightsStephan Seitz
2020-06-15Make =,~,! operators in C highlightsStephan Seitz
2020-06-15Add cpp/locals.scmStephan Seitz
2020-06-15Add @error highlight to c/highlights.scmStephan Seitz