summaryrefslogtreecommitdiff
path: root/queries
AgeCommit message (Collapse)Author
2020-10-16remove destructuring from @parameterfffed
2020-10-15feat: Add more lua foldsMike
Add repeat_statement to lua folds
2020-10-15Add additional queries for @parameter for jsfffed
2020-10-13C++ highlights: highlight all kinds of optional parametersStephan Seitz
declarator can be a identifier, a reference or a pointer
2020-10-12Ruby highlights: reset highlight on interpolationStephan Seitz
@TravonteD
2020-10-11feat(queries): modeline mechanism for base langsThomas Vigouroux
This implements https://github.com/neovim/neovim/pull/13059#issuecomment-704414189 This behaves like modelines and remove the use of the base_language map. Also, this allows to fine-tune what we actually want to include per query, which is better IMO.
2020-10-10fix(highlights): Add TSNamespace highlightStephan Seitz
Start adding highlights for - C++ - Rust (including other scoped_identifier/scoped_type_identifier fixes) - JS (only namespace_import) Addresses #516
2020-10-05Fix typearg brackets not highlighting for multiple typeargsCorey Williamson
2020-10-05Set function scopeCorey Williamson
2020-10-05Update queries/teal/highlights.scmeuclidianAce
Co-authored-by: Santos Gallegos <stsewd@protonmail.com>
2020-10-05Add teal parserCorey Williamson
2020-10-05Dart highlights: Reset highlight in interpolationStephan Seitz
2020-10-04fix(ocaml): highlight characters as suchPau Ruiz Safont
2020-10-04feat: add ocamllex parser and highlightsPau Ruiz Safont
2020-10-04Remove textobjects moduleStephan Seitz
2020-10-01make query-checker happyAlvaro Muñoz
2020-10-01change module to namespaceAlvaro Muñoz
2020-10-01CodeQL locals.scm queriesAlvaro Muñoz
2020-09-30fine tune keyword highlightsAlvaro Muñoz
2020-09-30remove locals.scmAlvaro Muñoz
2020-09-30remove non-used capturesAlvaro Muñoz
2020-09-30initial support for CodeQLAlvaro Muñoz
2020-09-27Add extension and on keywordsAkin Sowemimo
2020-09-24Improve the highlighting for class instantiationAkin Sowemimo
So it finds _HiddenClasses as well as OtherClasses
2020-09-23Highlight top-level 'require' as TSInclude (fix #463)Dennis B
Same for 'require_relative' & 'load' code importation mechanisms. Note, method calls of 'require' (as in Rails strong-params) will be still be highlighted as Method/Function.
2020-09-21Python locals: account for ↵Stephan Seitz
https://github.com/tree-sitter/tree-sitter-python/pull/83
2020-09-21Add OCaml foldsPieter Goetschalckx
2020-09-21Improve OCaml localsPieter Goetschalckx
2020-09-21Improve OCaml highlightsPieter Goetschalckx
2020-09-20Add locals.scm for dartAkin Sowemimo
This is an initial stab at this since I don't know much about how this should work but this seems to at leas allow incremental selection of most block of code
2020-09-20also match variable names to be @type when uppercasedkiyan42
2020-09-20use @tag and @type directives for jsx highlightskiyan42
2020-09-19fix(python): use `@Normal` again for f-strings `@none` is not aggressive enoughStephan Seitz
2020-09-19chore(java): remove duplicate lineStephan Seitz
2020-09-19ocaml: follow upstream for highlightsPau Ruiz Safont
2020-09-19ocaml: follow upstream for highlightsPau Ruiz Safont
2020-09-19Bash: update highlightsSantos Gallegos
Following some of our conventions and some bits from atom https://github.com/atom/language-shellscript/blob/master/grammars/tree-sitter-bash.cson: - Uppercase var are constants - `$` is a special symbol, not part of the name - Builtin constants and functions
2020-09-19Add @keyword.operator for operators that are English words and add ↵Stephan Seitz
@exception for Java/JS
2020-09-18Re-add attribute highlightAkin Sowemimo
2020-09-18Add case builtinAkin Sowemimo
Based on accepted PR to unhide this node Also show Function as a type correctly and use existing annotation highlight for annotations
2020-09-18RST: update queriesSantos Gallegos
Some nodes were renamed and added more textobjects.
2020-09-18Add TSTag and TSTagDelimiter groupsTravonteD
These groups will be added for use with xml-like tags such as html and jsx.
2020-09-18move the generic "constant" capture to the topTravonteD
2020-09-17Remove @definition.doc capturesSantos Gallegos
These aren't really definitions and are being show in the definitions list. We aren't using them at the moment, we could use another group or query file.
2020-09-16update require statements to use TSIncludeTravonteD
2020-09-15RST: update localsSantos Gallegos
A title is an implicit target.
2020-09-15reset python interpolation nodekiyan42
2020-09-15add TSNonekiyan42
2020-09-15do not highlight as normal to prevent background to override CursorLinekiyan42
2020-09-14Rename jsx/fold.scm -> folds.scmSantos Gallegos
This was merged before https://github.com/nvim-treesitter/nvim-treesitter/pull/461