aboutsummaryrefslogtreecommitdiffstats
path: root/queries
Commit message (Collapse)AuthorAgeFilesLines
...
* feat(svelte): inject JS on `each` expression (#1969)elianiva2021-11-021-1/+4
|
* Update queries/python/highlights.scmSantos Gallegos2021-11-011-1/+1
|
* Revert "feat: add `del` keyword for highlights"Santos Gallegos2021-11-011-2/+2
| | | | This reverts commit 385193d41fe6b74fe0e3698588ae54545d1cd88b.
* feat: add `del` keyword for highlightsAshish Panigrahi2021-11-011-2/+2
|
* D: fix duplicate `@namespace` captureSantos Gallegos2021-10-311-4/+2
| | | | | | | The previous query was highlighting everything inside that node, but we only want to highlight the identifiers. Ref https://github.com/nvim-treesitter/nvim-treesitter/pull/1930/files#r735105675
* Rust: highlight uppercase identifiers in match arms as constant (#1940)Santos Gallegos2021-10-301-0/+15
| | | | | | | * Rust: highlight uppercase identifiers in match arms as constant Closes https://github.com/nvim-treesitter/nvim-treesitter/issues/1928 * Highlight builtins
* yaml: improve highlights and locals (#946)Santos Gallegos2021-10-262-14/+33
| | | | | | | | | | | | | | | | | | | | | | | - More scopes - Highlight strings as strings - Recognize more keys/fields Improvements can be seen with this weird yaml: ```yaml { foo: bar } --- {a: [b, c], [d, e]: f} --- - { single line, a: b} - { multi line, a: b} --- "fooo": bar 'foo': bar one: two ```
* Elixir: fix a few highlights, add ExUnit support to locals (#1933)Clay2021-10-222-13/+37
| | | | | | | * Fix "not in" and sigil highlights * Add ExUnit test case to locals * Update README to mention new Elixir parser
* Update parsers with C# fixes (#1910)Stephan Seitz2021-10-221-5/+6
| | | | | | | * highlights(c_sharp): fix queries for parser update * Update c_sharp parser * Fix generic method
* Python: highlight interpolation escaped charsSantos Gallegos2021-10-221-1/+5
| | | | Support for these was just added in the grammar.
* Highlight zig add missing AssignOpmaxxnino2021-10-211-1/+1
|
* fix(d): don't use string_literalsCezary Drożak2021-10-201-4/+8
| | | | | | | string_literals is not used in single argument template instances. The nodes are from [1]. [1]: https://github.com/CyberShadow/tree-sitter-d/blob/c2fbf21bd3aa45495fe13247e040ad5815250032/grammar.js#L536
* highlights(cpp): highlight literal_suffix as `@operator`Stephan Seitz2021-10-201-0/+2
|
* HTML: highlight text nodes as textSantos Gallegos2021-10-151-1/+1
|
* Highlight and,or,not,in as @keyword.operatorConnor Lay (Clay)2021-10-131-4/+8
|
* Fix documentation highlights, formattingConnor Lay (Clay)2021-10-131-45/+35
|
* Locals matching "when" operator, add pipe queriesConnor Lay (Clay)2021-10-132-62/+95
|
* Increase Elixir locals pattern match depth to 20 nodesConnor Lay (Clay)2021-10-131-3/+39
| | | | | | | | | | This requires an update to `ts_query_cursor_set_match_limit` to function properly. The current limit is 32 per this PR https://github.com/neovim/neovim/pull/14915, increasing this value to 128 appears to work, but more testing will be necessary. Exposing this limit as a neovim option is worth exploring as a separate unit of work.
* Update locals with support for deep pattern matchesConnor Lay (Clay)2021-10-132-75/+66
|
* Update indents & fix catch highlightsConnor Lay (Clay)2021-10-132-14/+5
|
* Update injections & highlights, add foldsConnor Lay (Clay)2021-10-133-123/+154
|
* Update injections for new elixir-lang parserConnor Lay (Clay)2021-10-131-18/+12
|
* Update highlights for new elixir-lang parserConnor Lay (Clay)2021-10-131-95/+140
|
* Add scala maintainerStevan Milic2021-10-071-0/+1
| | | | Add fold for scala val definition to support type class entries
* parsers: add D parserCezary Drożak2021-10-074-0/+289
|
* Updated TLA+ grammar version and queriesAndrew Helwer2021-10-071-1/+5
|
* Update toml highlight queriesoxalica2021-10-041-5/+28
|
* Query fixBenjamin Graham2021-10-031-3/+3
|
* Highlighting fixedBenjamin Graham2021-10-031-2/+4
|
* LLVM parser/highlighter addedBenjamin Graham2021-10-031-0/+12
|
* fix: remove priority in ecma template substitution hlkiyan2021-10-031-9/+9
| | | | | | | This PR removes the priority override for the interpolation because it overrides every ecma based template literal, setting none with a higher priority than ecma groups which made every template string look `un`highlighted.
* Add headers as an option to fold on (#1873)Stephen Bolton2021-10-021-0/+1
| | | | | | | | | | | | | | * Add headers as an option to fold on treesitter-beancount added grammar rules around orgmode and markdown headers so that they are recognized in beancount documents. This change makes it so that they will be taken into consideration when folding text. Commit: https://github.com/polarmutex/tree-sitter-beancount/commit/79ae7c1f2654a2a6936b0f37bf754e5ff59c9186 * Fix node name for headers The correct name for the header nodes is heading.
* Rust: highlight loop labelsSantos Gallegos2021-10-011-0/+1
| | | | Closes https://github.com/nvim-treesitter/nvim-treesitter/issues/1891
* Rust: fix some highlightsSantos Gallegos2021-10-011-3/+6
| | | | Closes https://github.com/nvim-treesitter/nvim-treesitter/issues/1856
* highlight `description` as a commentVikas Raj2021-10-011-1/+2
|
* fix(vim): support syntax command and update parserThomas Vigouroux2021-10-011-0/+16
|
* Fix #1853igorlfs2021-09-301-1/+0
|
* feat(fennel): update parser and queriesOtto Modinos2021-09-302-27/+22
|
* Vim: highlight setlocal (#1877)Santos Gallegos2021-09-301-0/+1
| | | This was just added some days ago.
* Vim: update highlights and injectionsSantos Gallegos2021-09-272-0/+23
|
* cpp: highlight template method identifier as a methodJohn Drouhard2021-09-271-0/+3
|
* highlights(rust): Add colon `:` to delimitersSergio Alejandro Vargas2021-09-261-1/+1
|
* highlights(rust): fix bang `!` in macro_invocationSergio Alejandro Vargas2021-09-261-0/+1
|
* highlights(rust): Fix angle brackets, and closuresSergio Alejandro Vargas2021-09-261-27/+28
| | | | | Highlight angle brackets in type parameters and bars in closures bars as `@punctuation.bracket` not as `@operator`.
* cpp: fix locals.scm from breaking change in tree-sitter-cppJohn Drouhard2021-09-261-7/+3
|
* cpp: update lockfile.json and fix for breaking changesJohn Drouhard2021-09-261-10/+6
|
* injections(teal): fix cdef injectionStephan Seitz2021-09-251-0/+15
|
* injections(lua): fix cdef injectionStephan Seitz2021-09-251-0/+15
| | | | Fixes #1840
* "::" should be of type "operator"Lucas Crownover2021-09-211-1/+1
| | | swap constant for operator per treesitter recommendation
* Separate special variables to catch up masterdelphinus2021-09-211-1/+3
|