summaryrefslogtreecommitdiff
path: root/queries
AgeCommit message (Collapse)Author
2022-10-11highlights(cpp): add alternative operator namesmliszcz
These keywords are now supported by the parser. See: https://github.com/tree-sitter/tree-sitter-cpp/pull/179
2022-10-10fix(php): add indent for enumsgbprod
2022-10-10feat(swift): sync highlight queries with upstreamAlex Pinkus
Upstream highlight queries have added support for Swift regex literals. This change brings that support to nvim-treesitter. Also includes some minor reordering of modifiers for logical consistency (no impact on highlighting behavior).
2022-10-06feat(twig): add @spell on commentsgbprod
2022-10-06Fix php indent for short array declarationgbprod
2022-10-05feat(spell) added spell to html-tags textLampros
2022-10-04highlights(proto): highlight optionalMatthias Vogelgesang
`optional` came back with protobuf 3.15 as a valid modifier so highlight it the same way as `repeated`.
2022-10-03Introduce twig parsergbprod
This commit introduce parser, highlights and injections for the [twig syntax](https://twig.symfony.com)
2022-09-29update vimdoc parser and queriesChristian Clason
2022-09-28indents(wgsl): add indents.scmStephan Seitz
2022-09-27haskell/highlights: Match `pattern` as a keywordJade Lovelace
Sample: -- | Smart constructor that deduplicates plugins pattern IdePlugins :: [PluginDescriptor ideState] -> IdePlugins ideState pattern IdePlugins{ipMap} <- IdePlugins_ (sortOn (Down . pluginPriority) . HashMap.elems -> ipMap) _ where IdePlugins ipMap = IdePlugins_{ipMap_ = HashMap.fromList $ (pluginId &&& id) <$> ipMap , lookupCommandProvider = lookupPluginId ipMap }
2022-09-26feat(slint): <=> operatorShootingStarDragons
Slint have support <=> operator, so add this for highlight, Next time when lockfile.json is update, then merge this one Log: slint
2022-09-26highlights(php): add spellLaytan Laats
2022-09-26feat(spell): support more languagesLewis Russell
2022-09-23feat(comment): highlight `NOTE` as `@text.note` (#3537)Erik Westrup
2022-09-19highlights(elvish): Use `@function.builtin` for operator-like functionsTobias Frilling
Elvish uses prefix notation even for mathematical operators (i.e. `<= 1 2 3 4`), so these should be considered functions.
2022-09-15fix(ecma injections): jsdoc match /** */ onlyNick Friday
2022-09-14highlights(sql): remove grouped keywordMatthias Queitsch
2022-09-14highlights(sql): removed duplicate keywords, added new keyword, hashingMatthias Queitsch
as function.calls
2022-09-12fix(fold): don't include whitespace end regionsLewis Russell
Some languages that are difficult to parse via Treesitter may incorrectly include whitespace lines at the end of regions. This can makes the calculated folds sub-optimal. To recitfy, use a custom directive (trim), to calculate the range with the trailing whitespace lines removed. Note this only works if the region end column is 0. Also added folds for Make.
2022-09-12highlights(lua): add spellLewis Russell
2022-09-12parsers: add blueprint parserGabriele Musco
2022-09-11Add spell queryOmar Zeghouani
2022-09-11highlights(solidity): use `@function.call`/`@method.call`Stephan Seitz
2022-09-11highlights(hack): use `@function.call`/`@method.call`Stephan Seitz
2022-09-11highlights(haskell): use `@function.call`Stephan Seitz
2022-09-11highlights(elvish): use `@function.call`Stephan Seitz
2022-09-11highlights(elvish): use `@operator` for operatorsStephan Seitz
2022-09-11highlights(fish): use `@function.call`Stephan Seitz
2022-09-11highlights(clojure): use `@function.call`Stephan Seitz
2022-09-11highlights(clojure): out-comment TODO queryStephan Seitz
2022-09-11highlights(wgsl): use `@function.call`Stephan Seitz
2022-09-11highlights(ecma): use `@method.call`/`function.call`Stephan Seitz
2022-09-11highlights(c_sharp): use `@method.call`Stephan Seitz
2022-09-10highlights(hlsl): add more reserved modifiersStephan Seitz
2022-09-10highlights(hlsl): add `"globallycoherent"`Stephan Seitz
2022-09-10highlights(css): fix property highlightingStephan Seitz
Apply fix as suggested by https://github.com/binhtran432k Fixes #3395 Co-authored-by: Trần Đức Bình <binhtran432k@users.noreply.github.com>
2022-09-10indents(ecma): make "]" `@indent_end`Stephan Seitz
Fixes #3382
2022-09-10Add @spell directives for haskellGuillaume Bouchard
2022-09-10feat: add jsonnetCezary Drożak
2022-09-10highlights(phpdoc): check spell within `text`przepompownia
2022-09-10Add global variable highlightingCameron
2022-09-09feat: add tree-sitter-gitattributesObserverOfTime
2022-09-08highlights(sql): missing keyword & marginaliaderekstride
2022-09-08removed duplicated kw, start capturing subtree earlierMatthias Queitsch
2022-09-08change table_expression -> table_referenceMatthias Queitsch
2022-09-08highlights(meson): delimiter and operatorunitAnanda Umamil
2022-09-08feat(viml): bump parser and queriesChristian Clason
2022-09-06feat(spell): upstream spell queries from spellsitterLewis Russell
2022-09-05Add support for menhir (OCaml parser generator)Martin Pépin