aboutsummaryrefslogtreecommitdiffstats
path: root/queries
Commit message (Collapse)AuthorAgeFilesLines
* fix(dart): try statement wouldn't indent (#4623)Robert Brunhage2023-04-101-0/+1
|
* fix(rust): highlight SNAKE_CASE scoped identifier name as @constantJaehwang Jung2023-04-091-0/+3
|
* feat(markdown_inline): add @nospell where appropriateJaehwang Jung2023-04-081-2/+2
|
* fix(c_indents): fix expression leaking indentsPham Huy Hoang2023-04-081-1/+7
|
* feat(cpp): more distinction between function/method declaration and callJaehwang Jung2023-04-081-7/+21
|
* refactor(html_inject): Use lua-match instead of matchPham Huy Hoang2023-04-081-1/+2
|
* kotlin: update parser and queriesSaleh Bakra'a2023-04-061-2/+3
| | | Update `queries/kotlin/locals.scm` to use the the newly exposed `function_value_parameters` node.
* feat(ecma): use lua-match for jsdoc injectionsAmaan Qureshi2023-04-031-1/+1
|
* fix(scala): Add missing locals definitions for scalaghostbuster912023-04-011-0/+4
|
* chore(help)!: renamed to vimdocChristian Clason2023-04-012-0/+0
|
* fix(ruby): then blocks should not be `@conditional`, just "then"Trey Wood2023-03-311-6/+1
|
* highlights(sql): add `full`, `any` and `some` keywordsMatthias Queitsch2023-03-311-0/+3
|
* update sql parser and highlightsTrey Wood2023-03-291-0/+1
|
* docs: fix typosdundargoc2023-03-292-2/+2
|
* feat(spell): support lisp like languageskawas442023-03-295-9/+13
| | | | Add spell to commonlisp, scheme, racket, clojure and fennel.
* feat(perl): update queries from upstream changesAmaan Qureshi2023-03-271-1/+0
|
* feat: add FIRRTLAmaan Qureshi2023-03-275-0/+246
|
* feat: add PonyAmaan Qureshi2023-03-275-0/+486
|
* feat(cpp): simplify namespace query rules now that parser is a bit more ↵John Drouhard2023-03-272-5/+6
| | | | consistent
* feat(scala): add in local variables queriesChris Kipp2023-03-271-0/+38
| | | | | | This syncs the queries that were updated in https://github.com/tree-sitter/tree-sitter-scala/pull/196. Co-authored-by: ghostbuster91 <ghostbuster91@users.noreply.github.com>
* feat(kotlin): update queries from upstream changesAmaan Qureshi2023-03-262-24/+19
|
* feat(python): add break/continue dedentPham Huy Hoang2023-03-251-0/+5
|
* feat(python): add match-case indentsPham Huy Hoang2023-03-251-0/+4
|
* fix: `get_range` shim for playgroundTom van Dijk2023-03-241-1/+1
|
* use indent.X syntax for captures and properties of set directivesGeorge Harker2023-03-2476-485/+484
| | | | | | | | update CONTRIBUTING.md adjust indents for bass fix doc capture comment
* split delimiter into open_delimiter and close_delimiterGeorge Harker2023-03-249-29/+59
|
* refactor(indent)!: Rework indent, aligned indentGeorge Harker2023-03-241-19/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | indents now use @indent.X style captures, and indent.PROP for properties to set on those captures, as documented in the help. Captures are: indent.auto indent.begin indent.end indent.dedent indent.branch indent.ignore indent.align indent.zero Properties are: indent.immediate indent.start_at_same_line indent.open_delimiter indent.close_delimiter indent.increment indent.avoid_last_matching_next Multiple opening delims on one line and multiple closing on a line are collapsed so as not to over indent, The final line of @indent.align blocks which must in some cases be treated specially to avoid clashing with the next line is treated the same regardless of whether the @indent.align capture actually uses aligned indentation or just normal indentation. The indent.avoid_last_matching_next property controls this. Adjust python to use these. List, set, dict and tuple all use @indent.align which permits both hanging and aligned styles. Finally, try: on it’s own will indent when typing live but make no guaranteeds about whole-file formatting. Includes lucario387:fix-align-indent
* fix: shim 0.9 deprecationsLewis Russell2023-03-241-1/+1
|
* feat(vue): add tsx/jsx injection queries (#4550)Lucario3872023-03-241-30/+30
| | | | | | | * feat(vue): add tsx/jsx injection queries - add a test - style: format vue/injections.scm
* feat(luadoc): add more annotationsAmaan Qureshi2023-03-241-5/+24
|
* feat(typescript): add various missing function/method capturesAmaan Qureshi2023-03-221-0/+18
|
* highlights(sql): add new keywords for views and defaultsMatthias Queitsch2023-03-221-0/+6
|
* feat: add BassAmaan Qureshi2023-03-225-0/+162
|
* fix(python): add object as `@type.builtin`Anthony Shi2023-03-221-1/+1
|
* feat(html): injections in <script type>Benny Powers2023-03-221-10/+10
| | | | | | refactor(html): remove superfluous injection query fix(html): associate "module" type with "javascript"
* highlights(proto): make "include"/"package" `@include`Stephan Seitz2023-03-211-2/+5
|
* fix: revert for solidityZhizhen He2023-03-211-2/+2
|
* docs: fix typoZhizhen He2023-03-214-5/+5
|
* comment(highlights): reduce user mention priorityObserverOfTime2023-03-201-1/+2
|
* feat: add LuadocAmaan Qureshi2023-03-202-0/+137
|
* queries(lua): add more keywords related to variable/function builtins, ↵Amaan Qureshi2023-03-201-3/+9
| | | | debug, and coroutines
* fix(lua): properly highlight labelsAmaan Qureshi2023-03-201-2/+7
|
* injections(html): input regex patterns (#4521)Benny Powers2023-03-191-2/+12
| | | | | * injections(html): input regex patterns replaces regex part of #2577
* fix: svg injection in ecma tagged literalsBenny Powers2023-03-191-5/+5
|
* style: alternation in template literal queryBenny Powers2023-03-191-17/+18
|
* fix(ecma): template literal injectionsBenny Powers2023-03-191-0/+13
| | | | | see https://github.com/nvim-treesitter/nvim-treesitter/commit/e3ebc8ec5d586162f3c408417621daa59ba8ea62#commitcomment-104824257 for explanation This also assigns the HTML parser for SVG tagged literals, since svg uses the HTML parser
* fix(cpp): nullptr should be `@constant.builtin`Amaan Qureshi2023-03-191-1/+1
|
* feat: add LLVM TableGenAmaan Qureshi2023-03-165-0/+254
|
* feat(python): add "return" patterns to @indent_endPham Huy Hoang2023-03-161-0/+9
| | | | | | `return ...` is usually the last line of a function/statement, so mark some possible patterns of `return` with `@indent_end` to dedent the line after it
* fix(python): add missing @indent_endPham Huy Hoang2023-03-161-2/+16
|