aboutsummaryrefslogtreecommitdiffstats
path: root/queries/sql
Commit message (Collapse)AuthorAgeFilesLines
* feat(sql): add folds (#7686)Raafat Turki2025-02-261-0/+1
|
* fix(sql): remove unused rulesAmaan Qureshi2024-10-161-7/+0
|
* refactor(format): drop extra indentation for fieldPhạm Huy Hoàng2024-03-211-4/+3
|
* feat(sql): highlight fields in column definitionOmar Valdez2024-03-201-0/+3
|
* feat(highlights)!: `@keyword.storage` → `@keyword.modifier`Jaehwang Jung2024-03-161-1/+1
|
* feat(highlights)!: keyword `@type.qualifier` → `@keyword.modifier`Jaehwang Jung2024-03-161-1/+1
|
* chore: format queriesPhạm Huy Hoàng2024-01-211-2/+2
|
* chore: query formattingPham Huy Hoang2024-01-193-94/+98
|
* feat!: align standard captures with upstreamChristian Clason2024-01-191-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Sharing highlight queries with upstream tree-sitter and Helix is difficult. Solution: Where reasonable, use capture names in tree-sitter's standard list or Helix's Atom-style hierarchy. Specifically: * tree-sitter "standard capture names" (https://github.com/tree-sitter/tree-sitter/blob/3f44b896852eb7daaa6df4fb778c9bb52c70c815/highlight/src/lib.rs#L20-L72): - `@parameter` -> `@variable.parameter` - `@field` -> `@variable.member` - `@namespace` -> `@module` - `@float` -> `@number.float` - `@symbol` -> `@string.special.symbol` - `@string.regex` -> `@string.regexp` - `@text.*` -> `@markup.*` (`strong`, `italic`, `link`, `strikethrough`; with exceptions; see below) - `@text.title` -> `@markup.heading` - `@text.literal` -> `@markup.raw` - `@text.reference` -> `@markup.link` - `@text.uri` -> `@markup.link.url` (in markup links) - `@string.special` -> `@markup.link.label` (non-url links) - `@punctuation.special` -> `@markup.list` (markdown lists only; move subitems from `@text.todo`) * Helix captures (https://docs.helix-editor.com/master/themes.html#syntax-highlighting): - `@method` -> `@function.method` - `@method.call` -> `@function.method.call` - `@text.{todo,warning,note,danger}` -> `@comment.{error,warning,hint,info,todo}` - `@text.diff.{add,delete,}` -> `@diff.{plus,minus,delta}` - `@text.uri` -> `@string.special.url` (outside markup) - `@preproc` -> `@keyword.directive` - `@define` -> `@keyword.directive`(`.define`?) - `@storageclass` -> `@keyword.storage` - `@conditional` -> `@keyword.conditional` - `@debug` -> `@keyword.debug` - `@exception` -> `@keyword.exception` - `@include` -> `@keyword.import` - `@repeat` -> `@keyword.repeat` * cleanup - remove some redundant `@conceal` (but still allow it for conceal-only patterns) - remove obsolete `@error` (syntax linting is out of scope for this repo) - sort, cleanup capture list in `CONTRIBUTING.md`
* fix(sql): update queries from upstreamDerek Stride2023-11-021-37/+78
|
* highlights(sql): add t-sql specific data types (#5311)Matthias Q2023-08-251-0/+9
|
* chore(injections)!: update injection syntax to 0.9Pham Huy Hoang2023-08-121-2/+5
| | | | | | | | | Since 0.9, @lang syntax is still available as fallback but will soon be deprecated. Because of that, new syntax should be adopted once 0.9 becomes the baseline requirements for nvim-treesitter - update health check - update doc
* feat(sql): add missing keywordsMatthias Queitsch2023-08-071-0/+24
|
* feat(sql): add new keywordsMatthias Queitsch2023-07-301-0/+3
|
* feat(sql): update queries for newly added keywordsMatthias Q2023-07-182-0/+3
|
* feat(sql): update highlights from upstreamDerek Stride2023-07-051-6/+38
|
* feat(sql): json operator highlightsDian Fay2023-06-291-2/+4
|
* highlights(sql): add `filter` keywordMatthias Q2023-06-291-0/+1
|
* fix(sql): compound_statement -> blockDian M Fay2023-06-251-2/+1
| | | | | a little more reorganizing; we've copied the indents file into tree-sitter-sql and it tests okay there.
* highlights(sql): remove `keyword_group_concat` after refactorMatthias Queitsch2023-06-231-1/+0
|
* highlights(sql): fix order for `invocation`Matthias Queitsch2023-06-221-5/+5
|
* fix(sql): invocationDian M Fay2023-06-221-2/+3
|
* fix(sql): field alias moved to termDian M Fay2023-06-221-1/+0
|
* fix(sql): table_alias -> aliasDian M Fay2023-06-221-2/+2
|
* fix(sql): table_reference -> object_referenceDian M Fay2023-06-221-1/+1
|
* feat(sql): add new keywords for optimization statements and renamesMatthias Q2023-06-191-1/+16
|
* indents(sql): initial support (#4857)Matthias Q2023-05-251-0/+27
| | | | | * indents(sql): initial support * indents(sql): fix queries and lua style
* highlights(sql): add keyword `overwrite`Matthias Queitsch2023-05-231-0/+1
|
* highlights(sql): refactor `count` to generic `invocation`Matthias Queitsch2023-05-151-4/+0
|
* feat(sql): add more keywords Derek Stride2023-05-081-2/+6
|
* highlights(sql): add `full`, `any` and `some` keywordsMatthias Queitsch2023-03-311-0/+3
|
* update sql parser and highlightsTrey Wood2023-03-291-0/+1
|
* highlights(sql): add new keywords for views and defaultsMatthias Queitsch2023-03-221-0/+6
|
* highlights(sql): add new keywords and datatypesMatthias Queitsch2023-03-081-0/+10
|
* highlights(sql): keywords as `@storageclass`Matthias Queitsch2023-03-041-15/+20
|
* highlights(sql): added missing kwds, added `@attribute` and ↵Matthias Queitsch2023-03-041-11/+14
| | | | @`type.qualifier` kwds
* highlights(sql): add missing keywordsMatthias Queitsch2023-03-041-19/+62
|
* highlights(sql): update highlight queriesv0.8.4Matthias Queitsch2023-02-201-20/+63
| | | | | | | | | | | | | | | | | | | | highlights(sql): add bool, attributes, conditionals highlights(sql): add builtins highlights(sql): add parameters highlights(sql): add temp table attribute update sql highlights; add floats bump sql version bump upstream sql version highlights(sql): fix float regex fix upstream changes; bump sql version
* sql: update parser and query (#3820)Derek Stride2022-11-181-0/+3
| | | Add better `term` nodes in the select expression
* 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
* highlights(sql): missing keyword & marginaliaderekstride2022-09-081-2/+2
|
* removed duplicated kw, start capturing subtree earlierMatthias Queitsch2022-09-081-3/+3
|
* change table_expression -> table_referenceMatthias Queitsch2022-09-081-2/+2
|
* account for added and renamed keywordsMatthias Queitsch2022-08-291-2/+7
|
* SQL highlight queries rely on latest parser ASTderekstride2022-08-051-5/+4
|
* Split func/method definition from calls in several programming language querieslfenzo2022-08-031-2/+2
|
* Highlight sql comments (#3178)Robert Liebowitz2022-07-141-0/+1
|
* Update lockfile and highlight queriesderekstride2022-07-081-5/+78
|
* Initial SQL supportderekstride2022-07-082-0/+104