| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | feat!: drop modules, general refactor and cleanup | Christian Clason | 2025-05-12 | 5 | -9/+0 |
| | | |||||
| * | feat(format): extra newline after modeline | Phạm Huy Hoàng | 2024-02-29 | 1 | -0/+1 |
| | | |||||
| * | feat: add the php_only parser included in tree-sitter-php (#5876) | tk-shirasaka | 2024-01-20 | 5 | -557/+5 |
| | | | | | | | | | Add parser `php_only` for PHP files without HTML embedded. Make queries for combined parser `php` inherit from `php_only` (no extensions needed). --------- Co-authored-by: shirasaka <tk.shirasaka@gmail> | ||||
| * | chore: query formatting | Pham Huy Hoang | 2024-01-19 | 4 | -186/+240 |
| | | |||||
| * | feat!: align standard captures with upstream | Christian Clason | 2024-01-19 | 1 | -14/+14 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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(locals)!: switch to upstream captures | Christian Clason | 2024-01-19 | 1 | -19/+19 |
| | | |||||
| * | refactor: Remove all `(ERROR) @error` captures | Pham Huy Hoang | 2023-10-25 | 1 | -2/+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. | ||||
| * | refactor: improve readability | Carlos Afonso | 2023-10-15 | 1 | -2/+10 |
| | | |||||
| * | fix(php): fix indentation for in between braces | Carlos Afonso | 2023-10-15 | 1 | -2/+2 |
| | | |||||
| * | fix(php): highlight `never` as `@type.builtin` (#5522) | nsfisis | 2023-10-14 | 1 | -0/+1 |
| | | |||||
| * | fixup: php injections | Christian Clason | 2023-08-12 | 1 | -10/+0 |
| | | |||||
| * | fix(php): heredocs injections & highlights | ObserverOfTime | 2023-08-12 | 2 | -0/+20 |
| | | |||||
| * | Add PHP heredoc and nowdoc injections (#4866) | CalebW | 2023-08-12 | 1 | -3/+13 |
| | | |||||
| * | chore(injections)!: update injection syntax to 0.9 | Pham Huy Hoang | 2023-08-12 | 1 | -5/+19 |
| | | | | | | | | | | 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 |
| | | |||||
| * | lint(locals): use `#set!` to keep query linter happy | Christian Clason | 2023-06-22 | 1 | -13/+13 |
| | | |||||
| * | fix(php_inject): add missing @combined to text | Pham Huy Hoang | 2023-04-14 | 1 | -1/+1 |
| | | |||||
| * | use indent.X syntax for captures and properties of set directives | George Harker | 2023-03-24 | 1 | -5/+5 |
| | | | | | | | | | update CONTRIBUTING.md adjust indents for bass fix doc capture comment | ||||
| * | highlights(php): use `lua-match?` | Ananda Umamil | 2023-02-12 | 1 | -2/+2 |
| | | | | | Co-authored-by: Stephan Seitz <stephan.seitz@fau.de> | ||||
| * | highlights(php): remove typedef capture from `as` | Ananda Umamil | 2023-02-12 | 1 | -1/+1 |
| | | |||||
| * | highlights(php): fix `@constant` queries | Ananda Umamil | 2023-02-12 | 1 | -7/+9 |
| | | |||||
| * | highlights(php): fix queries related to namespaces | Ananda Umamil | 2023-02-12 | 1 | -11/+22 |
| | | |||||
| * | highlights(php): `instanceof` operand | Ananda Umamil | 2023-01-28 | 1 | -0/+3 |
| | | |||||
| * | Use `@parameter` capture | Ananda Umamil | 2023-01-28 | 1 | -1/+1 |
| | | |||||
| * | Apply the suggestion from @Lucario387 | Ananda Umamil | 2023-01-28 | 1 | -3/+1 |
| | | | | Co-authored-by: Lucario387 <hoangtun0810@gmail.com> | ||||
| * | highlights(php): declare directives and `:` | Ananda Umamil | 2023-01-28 | 1 | -0/+7 |
| | | |||||
| * | feat(php): improve indents for match and switch (#3953) | gbprod | 2022-12-09 | 1 | -0/+3 |
| | | |||||
| * | fix(php): add missing php fold query | gbprod | 2022-12-06 | 1 | -0/+1 |
| | | |||||
| * | highlights(php): use more specific groups | ObserverOfTime | 2022-11-26 | 1 | -7/+10 |
| | | |||||
| * | improve php variables and $this highlights | Nikita Sklyarov | 2022-11-25 | 1 | -3/+2 |
| | | |||||
| * | Add regex injections for php (#3592) | gbprod | 2022-10-28 | 1 | -1/+7 |
| | | |||||
| * | feat(php): add queries for bash injections | gbprod | 2022-10-12 | 1 | -0/+11 |
| | | | | | | This commit allows to inject bash syntax into relevant function arguments and shell expression. | ||||
| * | feat(php): improve php folds | gbprod | 2022-10-12 | 1 | -3/+12 |
| | | |||||
| * | fix(php): add indent for enums | gbprod | 2022-10-10 | 1 | -0/+1 |
| | | |||||
| * | Fix php indent for short array declaration | gbprod | 2022-10-06 | 1 | -0/+1 |
| | | |||||
| * | highlights(php): add spell | Laytan Laats | 2022-09-26 | 1 | -2/+2 |
| | | |||||
| * | Split func/method definition from calls in several programming language queries | lfenzo | 2022-08-03 | 1 | -4/+4 |
| | | |||||
| * | highlights(php): highlight more string types and escapes (#3226) | Matty Patatty | 2022-07-27 | 1 | -2/+4 |
| | | |||||
| * | highlights(php): highlight readonly keyword | shirasaka | 2022-06-04 | 1 | -0/+1 |
| | | |||||
| * | indents(php): @auto on comment and ERROR | przepompownia | 2022-05-15 | 1 | -1/+3 |
| | | | | | | | | | | | Currently with ```vim setlocal autoindent setlocal smartindent ``` in `after/indent/php.vim` it allows correct indentation inside PHP docblocks. | ||||
| * | highlights(php): improve highlight for attributes | nsfisis | 2022-05-13 | 1 | -0/+4 |
| | | |||||
| * | highlights(php): argument name as parameter | Wilman Barrios | 2022-03-17 | 1 | -0/+3 |
| | | |||||
| * | highlights(php): add namespace aliasing name as type | Wilman Barrios | 2022-02-26 | 1 | -0/+1 |
| | | |||||
| * | highlights(php): highlight use declaration name as type | Wilman Barrios | 2022-02-19 | 1 | -0/+2 |
| | | |||||
| * | highlights(php): highlight traits names as type | Wilman Barrios | 2022-02-19 | 1 | -0/+2 |
| | | |||||
| * | indents(php): don't use aligned_indent for php | Stephan Seitz | 2022-02-13 | 1 | -5/+2 |
| | | | | | Fixes #2497 | ||||
| * | indents(php): add another test | Stephan Seitz | 2022-02-05 | 1 | -3/+5 |
| | | |||||
| * | indents(php): align with C indentation | Stephan Seitz | 2022-01-24 | 1 | -3/+2 |
| | | | | | Fixes https://github.com/nvim-treesitter/nvim-treesitter/issues/2357 | ||||
| * | parsers: add phpdoc parser (experimental) | Michael Härtl | 2022-01-20 | 1 | -1/+1 |
| | | |||||
| * | fix(php) match magic and single letter constants | Michael Härtl | 2022-01-19 | 1 | -1/+3 |
| | | |||||
