summaryrefslogtreecommitdiff
path: root/queries
AgeCommit message (Collapse)Author
2021-11-11Add Operators for RubyCameron
Many operators were missing from ruby, so, I added them. Additionally, with string interpolation (`"#{xxx}"`), the closing `}` was being matched to `punctuation.bracket` instead of `punctuation.special`, so I fixed that too. I didn't see any further details about how to contribute, so if I've overlooked anything, I'll be happy to add it.
2021-11-11fix(vue.indents): add support for template_elementCyril Mizzi
2021-11-11fix: define indents.scm for html_tags and inherits html and vue from this fileCyril Mizzi
2021-11-11feat(vue): add indents.scm fileCyril Mizzi
There's no indentation file for Vue. This implementation is based on the HTML indentation file with a minor support for the `template_element` tag. As JS is bind with the JS Tree-sitter, the indentation is already fine.
2021-11-04fix(teal): highlighting for typesLewis Russell
2021-11-02chore: fix typosDundar Göc
2021-11-02feat(svelte): inject JS on `each` expression (#1969)elianiva
2021-11-01Update queries/python/highlights.scmSantos Gallegos
2021-11-01Revert "feat: add `del` keyword for highlights"Santos Gallegos
This reverts commit 385193d41fe6b74fe0e3698588ae54545d1cd88b.
2021-11-01feat: add `del` keyword for highlightsAshish Panigrahi
2021-10-31D: fix duplicate `@namespace` captureSantos Gallegos
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
2021-10-30Rust: highlight uppercase identifiers in match arms as constant (#1940)Santos Gallegos
* Rust: highlight uppercase identifiers in match arms as constant Closes https://github.com/nvim-treesitter/nvim-treesitter/issues/1928 * Highlight builtins
2021-10-26yaml: improve highlights and locals (#946)Santos Gallegos
- 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 ```
2021-10-22Elixir: fix a few highlights, add ExUnit support to locals (#1933)Clay
* Fix "not in" and sigil highlights * Add ExUnit test case to locals * Update README to mention new Elixir parser
2021-10-22Update parsers with C# fixes (#1910)Stephan Seitz
* highlights(c_sharp): fix queries for parser update * Update c_sharp parser * Fix generic method
2021-10-22Python: highlight interpolation escaped charsSantos Gallegos
Support for these was just added in the grammar.
2021-10-21Highlight zig add missing AssignOpmaxxnino
2021-10-20fix(d): don't use string_literalsCezary Drożak
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
2021-10-20highlights(cpp): highlight literal_suffix as `@operator`Stephan Seitz
2021-10-15HTML: highlight text nodes as textSantos Gallegos
2021-10-13Highlight and,or,not,in as @keyword.operatorConnor Lay (Clay)
2021-10-13Fix documentation highlights, formattingConnor Lay (Clay)
2021-10-13Locals matching "when" operator, add pipe queriesConnor Lay (Clay)
2021-10-13Increase Elixir locals pattern match depth to 20 nodesConnor Lay (Clay)
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.
2021-10-13Update locals with support for deep pattern matchesConnor Lay (Clay)
2021-10-13Update indents & fix catch highlightsConnor Lay (Clay)
2021-10-13Update injections & highlights, add foldsConnor Lay (Clay)
2021-10-13Update injections for new elixir-lang parserConnor Lay (Clay)
2021-10-13Update highlights for new elixir-lang parserConnor Lay (Clay)
2021-10-07Add scala maintainerStevan Milic
Add fold for scala val definition to support type class entries
2021-10-07parsers: add D parserCezary Drożak
2021-10-07Updated TLA+ grammar version and queriesAndrew Helwer
2021-10-04Update toml highlight queriesoxalica
2021-10-03Query fixBenjamin Graham
2021-10-03Highlighting fixedBenjamin Graham
2021-10-03LLVM parser/highlighter addedBenjamin Graham
2021-10-03fix: remove priority in ecma template substitution hlkiyan
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.
2021-10-02Add headers as an option to fold on (#1873)Stephen Bolton
* 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.
2021-10-01Rust: highlight loop labelsSantos Gallegos
Closes https://github.com/nvim-treesitter/nvim-treesitter/issues/1891
2021-10-01Rust: fix some highlightsSantos Gallegos
Closes https://github.com/nvim-treesitter/nvim-treesitter/issues/1856
2021-10-01highlight `description` as a commentVikas Raj
2021-10-01fix(vim): support syntax command and update parserThomas Vigouroux
2021-09-30Fix #1853igorlfs
2021-09-30feat(fennel): update parser and queriesOtto Modinos
2021-09-30Vim: highlight setlocal (#1877)Santos Gallegos
This was just added some days ago.
2021-09-27Vim: update highlights and injectionsSantos Gallegos
2021-09-27cpp: highlight template method identifier as a methodJohn Drouhard
2021-09-26highlights(rust): Add colon `:` to delimitersSergio Alejandro Vargas
2021-09-26highlights(rust): fix bang `!` in macro_invocationSergio Alejandro Vargas
2021-09-26highlights(rust): Fix angle brackets, and closuresSergio Alejandro Vargas
Highlight angle brackets in type parameters and bars in closures bars as `@punctuation.bracket` not as `@operator`.