summaryrefslogtreecommitdiff
path: root/queries
AgeCommit message (Collapse)Author
2021-01-02Python (folds): allow to fold stringsSantos Gallegos
Mostly useful for folding docstrings
2021-01-01RST: update parser and queriesSantos Gallegos
- The directive type does not longer includes `::`. - The content of the directives is not longer interpreted as rst, but it uses language injection for it. - Fix a query to allow to capture targets without link. - Reset the content of the math role so it can be highlighted by the injection instead. Problems I found: - Capturing the same node with @language and @content will raise an error. ``` Error detected while processing FileType Autocommands for "*": E5108: Error executing lua /usr/share/nvim/runtime/lua/vim/treesitter/languagetree.lua:331: table index is nil ``` Harcoding the language works, Using the offset predicate doesn't work either `(#offset! 0 0 1 0)` nor `(#offset! 0 0 0 5)` - Generating the grammar using `tree-sitter-cli@0.17.x` breaks nvim-treesitter, `@0.16.9` works.
2021-01-01Add c injection for ffi.cdef to luaSimon Hauser
2020-12-31add gdscriptTJ DeVries
2020-12-30Add SPARQLBonaBeavis
Signed-off-by: BonaBeavis <gordian.dziwis@gmail.com>
2020-12-25wildcards to capture keysDavid Hotham
2020-12-25simplify treatement of escape sequencesDavid Hotham
2020-12-25remove plus from list of punctuationDavid Hotham
2020-12-25first draft of YAML highlightingDavid Hotham
2020-12-25feat: Add more bash queriesMike
Add missing fold queries Add "function" to keywords highlights
2020-12-25remove duplication of query for numberDavid Hotham
2020-12-25match test for regexDavid Hotham
2020-12-25fixes to bash highlightingDavid Hotham
2020-12-21Improve python/indents.scmJędrzej Boczar
2020-12-21Add lacked Javascript operatorsdelphinus
2020-12-20stricter regex kotlin constantsTormod Alf Try Tufteland
2020-12-18Python: fix self highlighingSantos Gallegos
2020-12-18Add more ruby built-in constantsKassio Borges
2020-12-18Update indents.scmEvan
2020-12-18Create indents.scm for pythonEvan
2020-12-17Update for teal-0.9Corey Williamson
2020-12-16Remove duplicate capture for `function_definition`El Piloto
2020-12-16Capture anonymous functions assigned to variablesEl Piloto
Closes https://github.com/nvim-treesitter/nvim-treesitter/issues/709
2020-12-16Ruby highlights: Unify call and method_call (follow tree-sitter-ruby)Stephan Seitz
2020-12-14Bash highlights: reset highlighting in expansionStephan Seitz
2020-12-12Javascript unary expression (#712)Dave Lage
* javascript: Move unary_expression matching. * javascript: Move unary_expression matching. * javascript: Update unary to operator * javascript: Update qnary to be more specific
2020-12-10go: Add package_identifier as variablerockerBOO
2020-12-06type and identifer defaults. fixed const keywordTormod Alf Try Tufteland
2020-12-06@annotation -> @attributeTormod Alf Try Tufteland
2020-12-06add more builtin functionsTormod Alf Try Tufteland
2020-12-06add readme and more correct highlight capturesTormod Alf Try Tufteland
2020-12-06move divide to punctiation.specialTormod Alf Try Tufteland
2020-12-06add kotlin parser and highligh-queriesTormod Alf Try Tufteland
2020-12-05Add some ruby exception keywordsKassio Borges
2020-12-03Update Teal queries and parserStephan Seitz
2020-12-03css: add indent supportThanabodee Charoenpiriyakij
2020-11-30Update Python queriesStephan Seitz
2020-11-30Update teal queriesStephan Seitz
2020-11-30graphql: add missing highlightsBryan Kegley
* enum values * comment * input parameters * 'implements' keyword * include '@' in directive name * fragment definition and spread
2020-11-30Fix #724: Add (initializer_list) to C foldsStephan Seitz
2020-11-29graphql: add injection to javascript and add comment queryLuis Carlos Cruz Carballo
2020-11-27typescript: Use javascript shorthand_property_identifierrockerBOO
2020-11-27javascript: Mark shorthand_property_identifier as variablerockerBOO
2020-11-27graphql: add highlightsBryan Kegley
2020-11-25lua: update to pull shebang fixThomas Vigouroux
2020-11-25javascript: Add operator to / for division (#689)Dave Lage
2020-11-24feat(injections): add injections to HTMLelianiva
2020-11-24Add injections to PHPshirasaka
2020-11-23lua: fix "then" highlightingThomas Vigouroux
2020-11-23Python highlights: Fix #688 (definition.associated -> field)Stephan Seitz