aboutsummaryrefslogtreecommitdiffstats
path: root/queries
Commit message (Collapse)AuthorAgeFilesLines
* highlights: use @preproc where appropriateObserverOfTime2022-10-1515-16/+43
|
* test(gitattributes): add tests for highlightsObserverOfTime2022-10-151-2/+1
|
* highlights(c): highlight standard streamsObserverOfTime2022-10-151-0/+3
|
* highlights(rst): disable spell for code blocksObserverOfTime2022-10-152-2/+2
| | | | injections(rst): add sourcecode directive
* highlights(dockerfile): add several highlightsObserverOfTime2022-10-151-0/+13
|
* highlights(bash): add all signal namesObserverOfTime2022-10-151-1/+3
|
* highlights(kotlin): add companion keywordObserverOfTime2022-10-151-0/+3
|
* highlights(scss): add function statementObserverOfTime2022-10-151-0/+7
|
* highlights(typescript): add override keywordObserverOfTime2022-10-151-0/+1
|
* highlights(vim): add some more keywordsObserverOfTime2022-10-151-0/+6
|
* highlights(r): add spellMaximilian Muecke2022-10-151-1/+1
|
* highlights(rust): distinguish between "for" in loops and impl_itemStephan Seitz2022-10-151-2/+4
| | | | Fixes #3641
* feat(viml): update queriesChristian Clason2022-10-151-1/+12
|
* feat(php): add queries for bash injectionsgbprod2022-10-121-0/+11
| | | | | This commit allows to inject bash syntax into relevant function arguments and shell expression.
* feat(php): improve php foldsgbprod2022-10-121-3/+12
|
* fix(julia): remove highlight query for constantsFredrik Ekre2022-10-121-2/+0
| | | | | | | | | This patch removes the highlight query for constant identifiers based on capitalization. This led to inconsistent highlighting since e.g. `AA` would be a regular identifier, but `AAA` a constant. It is indeed true that some constants are uppercase only identifiers, but there are also constants which doesn't follow this pattern. Since there are no rules about this it seems better to not try to guess.
* highlights(cpp): add alternative operator namesmliszcz2022-10-111-14/+11
| | | | | These keywords are now supported by the parser. See: https://github.com/tree-sitter/tree-sitter-cpp/pull/179
* fix(php): add indent for enumsgbprod2022-10-101-0/+1
|
* feat(swift): sync highlight queries with upstreamAlex Pinkus2022-10-101-2/+5
| | | | | | | | 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).
* feat(twig): add @spell on commentsgbprod2022-10-061-1/+1
|
* Fix php indent for short array declarationgbprod2022-10-061-0/+1
|
* feat(spell) added spell to html-tags textLampros2022-10-051-1/+1
|
* highlights(proto): highlight optionalMatthias Vogelgesang2022-10-041-0/+1
| | | | | `optional` came back with protobuf 3.15 as a valid modifier so highlight it the same way as `repeated`.
* Introduce twig parsergbprod2022-10-032-0/+62
| | | | | This commit introduce parser, highlights and injections for the [twig syntax](https://twig.symfony.com)
* update vimdoc parser and queriesChristian Clason2022-09-291-9/+10
|
* indents(wgsl): add indents.scmStephan Seitz2022-09-281-0/+19
|
* haskell/highlights: Match `pattern` as a keywordJade Lovelace2022-09-271-0/+1
| | | | | | | | | | | 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 }
* feat(slint): <=> operatorShootingStarDragons2022-09-261-0/+1
| | | | | | | | Slint have support <=> operator, so add this for highlight, Next time when lockfile.json is update, then merge this one Log: slint
* highlights(php): add spellLaytan Laats2022-09-261-2/+2
|
* feat(spell): support more languagesLewis Russell2022-09-2627-44/+41
|
* feat(comment): highlight `NOTE` as `@text.note` (#3537)Erik Westrup2022-09-231-0/+6
|
* highlights(elvish): Use `@function.builtin` for operator-like functionsTobias Frilling2022-09-191-1/+1
| | | Elvish uses prefix notation even for mathematical operators (i.e. `<= 1 2 3 4`), so these should be considered functions.
* fix(ecma injections): jsdoc match /** */ onlyNick Friday2022-09-151-1/+3
|
* highlights(sql): remove grouped keywordMatthias Queitsch2022-09-141-2/+1
|
* highlights(sql): removed duplicate keywords, added new keyword, hashingMatthias Queitsch2022-09-141-7/+12
| | | | as function.calls
* fix(fold): don't include whitespace end regionsLewis Russell2022-09-122-6/+16
| | | | | | | | | | | | 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.
* highlights(lua): add spellLewis Russell2022-09-121-0/+2
|
* parsers: add blueprint parserGabriele Musco2022-09-121-0/+57
|
* Add spell queryOmar Zeghouani2022-09-111-0/+1
|
* highlights(solidity): use `@function.call`/`@method.call`Stephan Seitz2022-09-111-3/+3
|
* highlights(hack): use `@function.call`/`@method.call`Stephan Seitz2022-09-111-3/+3
|
* highlights(haskell): use `@function.call`Stephan Seitz2022-09-111-4/+4
|
* highlights(elvish): use `@function.call`Stephan Seitz2022-09-111-1/+1
|
* highlights(elvish): use `@operator` for operatorsStephan Seitz2022-09-111-1/+1
|
* highlights(fish): use `@function.call`Stephan Seitz2022-09-111-1/+1
|
* highlights(clojure): use `@function.call`Stephan Seitz2022-09-111-2/+2
|
* highlights(clojure): out-comment TODO queryStephan Seitz2022-09-111-16/+16
|
* highlights(wgsl): use `@function.call`Stephan Seitz2022-09-111-1/+1
|
* highlights(ecma): use `@method.call`/`function.call`Stephan Seitz2022-09-111-2/+2
|
* highlights(c_sharp): use `@method.call`Stephan Seitz2022-09-111-4/+4
|