| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | feat!: drop modules, general refactor and cleanup | Christian Clason | 2025-05-12 | 5 | -580/+0 |
| | | |||||
| * | fix(lua): remove duplicate `nvim_command` (#7477) | phanium | 2024-12-17 | 1 | -2/+1 |
| | | |||||
| * | fix(lua): remove duplicate ellipsis highlight | Riley Bruins | 2024-09-14 | 1 | -2/+0 |
| | | |||||
| * | fix(lua): proper indent after multiline string arg | Riley Bruins | 2024-08-05 | 1 | -0/+1 |
| | | |||||
| * | fix(lua): use @property for keys in table literals (#6956) | Tyler Miller | 2024-07-21 | 1 | -1/+1 |
| | | | | | | | `@property` should be used for key-value pairs, while `@variable.member` is used for field-access/index-expressions. Using different captures also provides the benefit of allowing the two to be highlighted differently. | ||||
| * | fix(lua): indent functions before they are closed | Riley Bruins | 2024-07-16 | 1 | -1/+6 |
| | | | | | Fixes #6786 | ||||
| * | chore: clean duplicate node | Charles Chiu | 2024-06-12 | 1 | -1/+0 |
| | | |||||
| * | feat(lua): add `exec_lua` injection for nvim tests | Christian Clason | 2024-04-05 | 1 | -0/+9 |
| | | |||||
| * | style: format query | datwaft | 2024-03-25 | 1 | -11/+8 |
| | | |||||
| * | feat(lua): add injections for `vim.filetype.add` | datwaft | 2024-03-25 | 1 | -0/+18 |
| | | |||||
| * | refactor(format): drop extra indentation for field | Phạm Huy Hoàng | 2024-03-21 | 3 | -130/+109 |
| | | |||||
| * | feat(format-scripts): linewrap predicates | 再生花 | 2024-02-23 | 2 | -9/+8 |
| | | | | "format-ignore".kick() | ||||
| * | fix(lua): inject luadoc into comments immediately beginning with a `|` | Amaan Qureshi | 2024-01-26 | 1 | -1/+1 |
| | | |||||
| * | chore: query formatting | Pham Huy Hoang | 2024-01-19 | 5 | -191/+233 |
| | | |||||
| * | refactor: manual pre-cleanup | Pham Huy Hoang | 2024-01-19 | 2 | -4/+6 |
| | | | | | | Moving comments, adding `format-ignore` to lines that will be better with it | ||||
| * | feat!: align standard captures with upstream | Christian Clason | 2024-01-19 | 1 | -17/+17 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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` | ||||
| * | feat(injections): add printf format strings | ObserverOfTime | 2024-01-19 | 1 | -0/+17 |
| | | |||||
| * | feat(locals)!: switch to upstream captures | Christian Clason | 2024-01-19 | 1 | -10/+10 |
| | | |||||
| * | fix: cleanup luap injection queries | Riley Bruins | 2023-12-23 | 1 | -24/+2 |
| | | |||||
| * | feat: more `@string.regex` highlights | Riley Bruins | 2023-12-23 | 1 | -0/+20 |
| | | |||||
| * | feat(lua): folds for parameter, argument lists | Riley Bruins | 2023-11-19 | 1 | -0/+2 |
| | | |||||
| * | refactor: Remove all `(ERROR) @error` captures | Pham Huy Hoang | 2023-10-25 | 1 | -3/+0 |
| | | | | | | | | | | | | | As discussed in PR#5421, capturing `@error` is inconsistent, requiring deep nesting (or priority) in order to correctly have red backgrounds to it. Some queries has this capture, some don't. For consistency purposes, removing all of them is more preferable. For re-enabling error, either add `(ERROR) @error` or `(ERROR _ @error)` to your custom queries. | ||||
| * | feat(lua): highlight variadic expressions as builtin parameters (#5567) | Riley Bruins | 2023-10-24 | 1 | -0/+2 |
| | | |||||
| * | injections(lua): add vim highlights to api funcs (#5404) | Pham Huy Hoang | 2023-09-16 | 1 | -0/+70 |
| | | | | | Add vim injections for `vim.api.nvim[_buf]_create_user_command` and `vim.api.nvim_create_autocmd` | ||||
| * | fix(lua): fix luadoc injections | Christian Clason | 2023-09-15 | 1 | -1/+1 |
| | | |||||
| * | refactor: remove `include-children` from queries (#5226) | Pham Huy Hoang | 2023-09-12 | 1 | -6/+6 |
| | | | | These `include-children` were to alleviate an issue with empty range language tree, which has been fixed for Neovim nightly/Neovim 0.9.2 | ||||
| * | fix(lua): highlights for attribute | Munif Tanjim | 2023-09-07 | 1 | -3/+4 |
| | | |||||
| * | fix(lua): use include-children instead (#5299) | Pham Huy Hoang | 2023-08-22 | 1 | -5/+7 |
| | | | | | | The root issue is fixed with neovim 0.9.2. But the current stable version is neovim 0.9.1, so partially reverts the commit to make it compatible with the current stable version. | ||||
| * | fix(lua): luap injection (#5275) | TheLeoP | 2023-08-18 | 1 | -5/+27 |
| | | | | | | | | | | * fix(lua): luap injection * test(lua): check for incorrect hlgroup of injected luap * chore(lua): injections styling * chore(lua): ignore luacheck for test.lua | ||||
| * | fix(lua): injections for comment and luadoc | Munif Tanjim | 2023-08-16 | 1 | -4/+5 |
| | | |||||
| * | chore(injections)!: update injection syntax to 0.9 | Pham Huy Hoang | 2023-08-12 | 2 | -18/+28 |
| | | | | | | | | | | 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 | ||||
| * | queries/*/highlights.scm : remove `@spell` for strings | ShellCode33 | 2023-08-07 | 1 | -1/+1 |
| | | |||||
| * | feat(lua): update highlights query for functions (#4919) | Munif Tanjim | 2023-06-08 | 1 | -5/+32 |
| | | |||||
| * | fix(lua_inject): remove need for surrounding quote (#4740) | Pham Huy Hoang | 2023-04-30 | 1 | -2/+2 |
| | | |||||
| * | refactor(lua): move _VERSION to `@constant.builtin`, builtin types to ↵ | Amaan Qureshi | 2023-04-28 | 1 | -1/+7 |
| | | | | | `@namespace.builtin` | ||||
| * | fix(lua): injection eq should be any-of (#4711) | Amaan Qureshi | 2023-04-26 | 1 | -1/+1 |
| | | |||||
| * | injections(lua): tweak query to capture string content (#4707) | Munif Tanjim | 2023-04-25 | 1 | -1/+1 |
| | | |||||
| * | injections(lua): highlight vim.api.nvim_exec2 | smjonas | 2023-04-24 | 1 | -2/+2 |
| | | |||||
| * | injections(lua): highlight Lua code in vim.rpcrequest and vim.rpcnotify | smjonas | 2023-04-24 | 1 | -1/+8 |
| | | |||||
| * | fix: `get_range` shim for playground | Tom van Dijk | 2023-03-24 | 1 | -1/+1 |
| | | |||||
| * | use indent.X syntax for captures and properties of set directives | George Harker | 2023-03-24 | 1 | -6/+7 |
| | | | | | | | | | update CONTRIBUTING.md adjust indents for bass fix doc capture comment | ||||
| * | fix: shim 0.9 deprecations | Lewis Russell | 2023-03-24 | 1 | -1/+1 |
| | | |||||
| * | feat: add Luadoc | Amaan Qureshi | 2023-03-20 | 1 | -0/+4 |
| | | |||||
| * | queries(lua): add more keywords related to variable/function builtins, ↵ | Amaan Qureshi | 2023-03-20 | 1 | -3/+9 |
| | | | | | debug, and coroutines | ||||
| * | fix(lua): properly highlight labels | Amaan Qureshi | 2023-03-20 | 1 | -2/+7 |
| | | |||||
| * | feat(lua): add more builtin variables per lua_ls | Amaan Qureshi | 2023-03-11 | 1 | -1/+1 |
| | | |||||
| * | feat: add `@comment.documentation` where applicable | Amaan Qureshi | 2023-03-05 | 1 | -0/+6 |
| | | |||||
| * | feat(lua): add luap injections | Amaan Qureshi | 2023-03-04 | 1 | -0/+26 |
| | | |||||
| * | Extend injections for Lua to use query parser | Cameron | 2023-02-24 | 1 | -1/+1 |
| | | |||||
| * | highlights(lua): use @method.call | Jaehwang Jung | 2022-12-15 | 1 | -1/+1 |
| | | |||||
