aboutsummaryrefslogtreecommitdiffstats
path: root/queries/verilog
Commit message (Collapse)AuthorAgeFilesLines
* feat!: drop modules, general refactor and cleanupChristian Clason2025-05-123-633/+0
|
* fix(verilog): capture `(non_integer_type)` as `@type.builtin`Minh Tran2025-01-251-0/+1
|
* fix(verilog): add ifndef highlight (#7548)someone135742025-01-111-0/+1
|
* fix(verilog): update queries (#7400)zhangwwpeng2024-11-241-1/+9
| | | | | 1. Add "string" as a keyword 2. Fix issue where non-type.builtin fields are captured when using (data_type) as type.builtin 3. Add generate label
* feat(verilog)!: use systemverilog parser and queries (#7170)henrykvdb2024-10-164-221/+458
|
* bot(lockfile): update agda, bash, c, c_sharp, cmake, cpp, css, diff, ↵nvim-treesitter-bot[bot]2024-10-151-2/+0
| | | | editorconfig, eds, elixir, embedded_template, gitcommit, go, gotmpl, haskell, helm, hlsl, html, java, javascript, jsdoc, julia, just, ledger, php, php_only, python, ql, qmljs, regex, ruby, rust, slang, templ, tsx, typescript, verilog
* fix(verilog): various touch-upsRiley Bruins2024-06-231-9/+19
|
* feat: more `@keyword.type` capturesRiley Bruins2024-05-011-8/+10
|
* feat(verilog): `@keyword.modifier` for lifetimeJaehwang Jung2024-03-161-1/+1
|
* feat(highlights)!: `@keyword.storage` → `@keyword.modifier`Jaehwang Jung2024-03-161-1/+1
|
* feat(highlights)!: keyword `@type.qualifier` → `@keyword.modifier`Jaehwang Jung2024-03-161-2/+2
|
* fix(highlights): improve consistencyObserverOfTime2024-01-191-7/+3
|
* chore: query formattingPham Huy Hoang2024-01-193-104/+102
|
* feat!: align standard captures with upstreamChristian Clason2024-01-191-12/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 capturesChristian Clason2024-01-191-12/+12
|
* refactor: Remove all `(ERROR) @error` capturesPham Huy Hoang2023-10-251-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.
* chore(injections)!: update injection syntax to 0.9Pham Huy Hoang2023-08-121-1/+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 stringsShellCode332023-08-071-1/+1
|
* docs: fix typosdundargoc2023-02-231-1/+1
|
* highlights(verilog): fix capturesObserverOfTime2022-11-261-8/+12
|
* feat(spell): support more languagesLewis Russell2022-09-261-2/+2
|
* verilog highlight: add some keywords, tidy keywords (#2432)Jade Lovelace2022-02-021-13/+39
| | | | | | | | | | | | | | * Add a bunch of the OO keywords and some of the more unusual block delimiter types * Highlight macromodule like module is. * Highlight new as seen in constructor declarations like `class blah; function new(...); ... endfunction endclass` * Make endfunction a @keyword.function. This matches how lua does it. * Make tasks @keyword.function: tasks in SystemVerilog are more or less just impure functions * Highlight casex/casez like case is currently highlighted (previously these were not highlighted at all) * Highlight unique, unique0, priority for constructs like `unique case (...) ... endcase` and `priority if (...) ...`
* Use `@keyword.function` consistentlySergio Alejandro Vargas2021-07-061-1/+1
|
* feat(keywords) merge return and yield into keyword.return groupantonk522021-07-041-3/+1
|
* feat(keywords) add keyword.return & keyword.yieldantonk522021-07-041-1/+4
|
* Revert "Comment: use `@combined` to create just one tree per buffer (#1252)"Santos Gallegos2021-05-071-1/+1
| | | | This reverts commit 4a7a713c527f57c355bc817f16fc6d955b8cce9b.
* Comment: use `@combined` to create just one tree per buffer (#1252)Santos Gallegos2021-04-281-1/+1
| | | | | | | | | | | | * Comment: use `@combined` to create just one tree per buffer There is no need to create a tree per line/block for comments. Should fix https://github.com/nvim-treesitter/nvim-treesitter/issues/1251 * Add injections for scss * Fix jsonc * Combine jsdoc
* Update verilog to 0.19.2Stephan Seitz2021-03-162-6/+8
|
* Add comment parser to highlight comment tags (#893)Santos Gallegos2021-03-121-0/+1
| | | Closes #236
* Add locals for verilogzegervdv2020-11-212-13/+91
|
* Add missing verilog keywordszegervdv2020-11-211-0/+4
|
* Improve highlighting of port declarations in verilogzegervdv2020-11-211-4/+40
|
* Improve highlighting for generate blockszegervdv2020-11-161-0/+6
|
* Add folds for begin/end blocks, functions and taskszegervdv2020-11-161-0/+6
|
* Add verilog/systemverilog queriesZeger Van de Vannet2020-10-201-0/+219