| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | fix(lua): remove duplicate ellipsis highlight | Riley Bruins | 2024-09-14 | 1 | -2/+0 |
| | | |||||
| * | 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. | ||||
| * | refactor(format): drop extra indentation for field | Phạm Huy Hoàng | 2024-03-21 | 1 | -35/+29 |
| | | |||||
| * | feat(format-scripts): linewrap predicates | 再生花 | 2024-02-23 | 1 | -8/+6 |
| | | | | "format-ignore".kick() | ||||
| * | chore: query formatting | Pham Huy Hoang | 2024-01-19 | 1 | -113/+118 |
| | | |||||
| * | refactor: manual pre-cleanup | Pham Huy Hoang | 2024-01-19 | 1 | -1/+2 |
| | | | | | | 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: more `@string.regex` highlights | Riley Bruins | 2023-12-23 | 1 | -0/+20 |
| | | |||||
| * | 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 |
| | | |||||
| * | fix(lua): highlights for attribute | Munif Tanjim | 2023-09-07 | 1 | -3/+4 |
| | | |||||
| * | chore(injections)!: update injection syntax to 0.9 | Pham Huy Hoang | 2023-08-12 | 1 | -0/+2 |
| | | | | | | | | | | 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 |
| | | |||||
| * | refactor(lua): move _VERSION to `@constant.builtin`, builtin types to ↵ | Amaan Qureshi | 2023-04-28 | 1 | -1/+7 |
| | | | | | `@namespace.builtin` | ||||
| * | 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 |
| | | |||||
| * | highlights(lua): use @method.call | Jaehwang Jung | 2022-12-15 | 1 | -1/+1 |
| | | |||||
| * | lua: update queries | Christian Clason | 2022-11-01 | 1 | -0/+5 |
| | | |||||
| * | highlights: use @preproc where appropriate | ObserverOfTime | 2022-10-15 | 1 | -1/+1 |
| | | |||||
| * | feat(spell): support more languages | Lewis Russell | 2022-09-26 | 1 | -4/+2 |
| | | |||||
| * | highlights(lua): add spell | Lewis Russell | 2022-09-12 | 1 | -0/+2 |
| | | |||||
| * | Split func/method definition from calls in several programming language queries | lfenzo | 2022-08-03 | 1 | -2/+2 |
| | | |||||
| * | highlights(lua): use `#eq?` instead of `#match?` | Janfel | 2022-06-24 | 1 | -1/+1 |
| | | | | Co-authored-by: Santos Gallegos <stsewd@protonmail.com> | ||||
| * | highlights(lua): highlight only `self` as `self` | Janfel | 2022-06-24 | 1 | -1/+1 |
| | | | | Before, all identifiers containing the substring "self" were highlighted as the builtin `self`. Now, only the identifier `self` is highlighted as `self`. | ||||
| * | fix(lua): restore precedence for @variable.builtin and @constant.builtin | Christian Clason | 2022-03-12 | 1 | -14/+12 |
| | | |||||
| * | highlights(lua): don't highlight arguments as parameters | Stephan Seitz | 2022-01-30 | 1 | -2/+0 |
| | | |||||
| * | feat(lua)!: switch from our fork to MunifTanjim's (#2272) | Christian Clason | 2022-01-18 | 1 | -90/+115 |
| | | | | | | also take queries from https://github.com/MunifTanjim/nvim-treesitter-lua/tree/main/queries/lua BREAKING CHANGE: queries are not compatible; modules will have to update | ||||
| * | highlights(lua): `next` as builtin function | numToStr | 2021-12-13 | 1 | -0/+3 |
| | | |||||
| * | Prefer lua-match over match | Lewis Russell | 2021-11-23 | 1 | -1/+1 |
| | | | | | as string.find is much quicker than vim.regex:match* | ||||
| * | highlights(lua): Add Lua 5.1 built-in functions | Sergio Alejandro Vargas | 2021-09-01 | 1 | -0/+9 |
| | | |||||
| * | highlights(lua): Add semicolons | Sergio Alejandro Vargas | 2021-08-17 | 1 | -1/+1 |
| | | |||||
| * | Lua: highlight uppercase variables as constants (#1690) | Santos Gallegos | 2021-08-14 | 1 | -0/+2 |
| | | |||||
| * | highlights(lua): Organize `function_call` queries | Sergio Alejandro Vargas | 2021-08-02 | 1 | -3/+6 |
| | | |||||
| * | highlights(lua): Fix method calls | Sergio Alejandro Vargas | 2021-08-02 | 1 | -1/+1 |
| | | | | | | | The usual `function_call` query would highlight the objects at the beginning of a method call. The `method` query has to account for this, and highlight the identifier as a variable again. | ||||
| * | Lua: highlight function definitions | Santos Gallegos | 2021-07-07 | 1 | -0/+5 |
| | | | | | | | | | | | | | | | In lua ```lua function foo() end ``` is syntax sugar for ```lua foo = function() end ``` | ||||
| * | feat(keywords) merge return and yield into keyword.return group | antonk52 | 2021-07-04 | 1 | -3/+1 |
| | | |||||
| * | feat(keywords) add keyword.return & keyword.yield | antonk52 | 2021-07-04 | 1 | -1/+4 |
| | | |||||
| * | feat: added `self` as builtin keyword for Lua | Folke Lemaitre | 2021-06-17 | 1 | -0/+2 |
| | | |||||
| * | fix(lua): correctly highlight field names | Thomas Vigouroux | 2021-04-22 | 1 | -1/+2 |
| | | |||||
| * | Lua: highlight fields | Santos Gallegos | 2021-02-10 | 1 | -0/+1 |
| | | |||||
| * | fix(lua): correctly highlight do_statement | Thomas Vigouroux | 2021-01-27 | 1 | -0/+6 |
| | | |||||
| * | lua: update to pull shebang fix | Thomas Vigouroux | 2020-11-25 | 1 | -1/+3 |
| | | |||||
| * | lua: fix "then" highlighting | Thomas Vigouroux | 2020-11-23 | 1 | -2/+2 |
| | | |||||
| * | Add lua params (#605) | Chinmay Dalal | 2020-10-21 | 1 | -0/+4 |
| | | | | | | | | * Add lua params * Fix * Remove redundant outer | ||||
| * | Add @keyword.operator for operators that are English words and add ↵ | Stephan Seitz | 2020-09-19 | 1 | -3/+7 |
| | | | | | @exception for Java/JS | ||||
| * | Fix #307: Use and document TSVariable/TSVariableBuiltin in all languages | Stephan Seitz | 2020-09-14 | 1 | -0/+3 |
| | | |||||
| * | use keyword.function instead of function | kyazdani42 | 2020-09-08 | 1 | -3/+3 |
| | | |||||
