Some checks failed
Detach Plugins / check (FlyGrep.vim) (push) Has been cancelled
Detach Plugins / check (GitHub.vim) (push) Has been cancelled
Detach Plugins / check (JavaUnit.vim) (push) Has been cancelled
Detach Plugins / check (SourceCounter.vim) (push) Has been cancelled
Detach Plugins / check (cpicker.nvim) (push) Has been cancelled
Detach Plugins / check (dein-ui.vim) (push) Has been cancelled
Detach Plugins / check (git.vim) (push) Has been cancelled
Detach Plugins / check (iedit.vim) (push) Has been cancelled
Detach Plugins / check (scrollbar.vim) (push) Has been cancelled
Detach Plugins / check (vim-chat) (push) Has been cancelled
Detach Plugins / check (vim-cheat) (push) Has been cancelled
Detach Plugins / check (vim-todo) (push) Has been cancelled
Detach Plugins / check (xmake.vim) (push) Has been cancelled
test / Linux (nvim, nightly) (push) Has been cancelled
test / Linux (nvim, v0.3.8) (push) Has been cancelled
test / Linux (nvim, v0.4.0) (push) Has been cancelled
test / Linux (nvim, v0.4.2) (push) Has been cancelled
test / Linux (nvim, v0.4.3) (push) Has been cancelled
test / Linux (nvim, v0.4.4) (push) Has been cancelled
test / Linux (nvim, v0.5.0) (push) Has been cancelled
test / Linux (nvim, v0.5.1) (push) Has been cancelled
test / Linux (nvim, v0.6.0) (push) Has been cancelled
test / Linux (nvim, v0.6.1) (push) Has been cancelled
test / Linux (nvim, v0.7.0) (push) Has been cancelled
test / Linux (nvim, v0.7.2) (push) Has been cancelled
test / Linux (nvim, v0.8.0) (push) Has been cancelled
test / Linux (nvim, v0.8.1) (push) Has been cancelled
test / Linux (nvim, v0.8.2) (push) Has been cancelled
test / Linux (nvim, v0.8.3) (push) Has been cancelled
test / Linux (nvim, v0.9.0) (push) Has been cancelled
test / Linux (nvim, v0.9.1) (push) Has been cancelled
test / Linux (true, vim, v7.4.052) (push) Has been cancelled
test / Linux (true, vim, v7.4.1689) (push) Has been cancelled
test / Linux (true, vim, v7.4.629) (push) Has been cancelled
test / Linux (true, vim, v8.0.0027) (push) Has been cancelled
test / Linux (true, vim, v8.0.0183) (push) Has been cancelled
test / Linux (vim, nightly) (push) Has been cancelled
test / Linux (vim, v8.0.0184) (push) Has been cancelled
test / Linux (vim, v8.0.1453) (push) Has been cancelled
test / Linux (vim, v8.1.2269) (push) Has been cancelled
test / Linux (vim, v8.2.2434) (push) Has been cancelled
test / Linux (vim, v8.2.3995) (push) Has been cancelled
test / Windows (nvim, nightly) (push) Has been cancelled
test / Windows (nvim, v0.3.8) (push) Has been cancelled
test / Windows (nvim, v0.4.2) (push) Has been cancelled
test / Windows (nvim, v0.4.3) (push) Has been cancelled
test / Windows (nvim, v0.4.4) (push) Has been cancelled
test / Windows (nvim, v0.5.0) (push) Has been cancelled
test / Windows (nvim, v0.5.1) (push) Has been cancelled
test / Windows (nvim, v0.6.0) (push) Has been cancelled
test / Windows (nvim, v0.6.1) (push) Has been cancelled
test / Windows (nvim, v0.7.0) (push) Has been cancelled
test / Windows (nvim, v0.7.2) (push) Has been cancelled
test / Windows (nvim, v0.8.0) (push) Has been cancelled
test / Windows (nvim, v0.8.1) (push) Has been cancelled
test / Windows (nvim, v0.8.2) (push) Has been cancelled
test / Windows (nvim, v0.8.3) (push) Has been cancelled
test / Windows (nvim, v0.9.0) (push) Has been cancelled
test / Windows (nvim, v0.9.1) (push) Has been cancelled
test / Windows (vim, nightly) (push) Has been cancelled
test / Windows (vim, v7.4.1185) (push) Has been cancelled
test / Windows (vim, v7.4.1689) (push) Has been cancelled
test / Windows (vim, v8.0.0027) (push) Has been cancelled
test / Windows (vim, v8.0.1453) (push) Has been cancelled
test / Windows (vim, v8.1.2269) (push) Has been cancelled
test / Windows (vim, v8.2.2434) (push) Has been cancelled
test / Windows (vim, v8.2.3995) (push) Has been cancelled
docker / docker (push) Has been cancelled
mirror / check (coding) (push) Has been cancelled
mirror / check (gitee) (push) Has been cancelled
mirror / check (gitlab) (push) Has been cancelled
99 lines
7.3 KiB
YAML
99 lines
7.3 KiB
YAML
name: Highlighting issue
|
|
description: Missing or incorrect highlights or you want to change the way something is highlighted
|
|
labels: [highlights]
|
|
|
|
body:
|
|
- type: markdown
|
|
attributes:
|
|
value: |
|
|
# Before reporting
|
|
Please perform the following steps before reporting an issue.
|
|
- I have updated my neovim version to latest _master_.
|
|
- I have updated my plugin to the latest version.
|
|
- I have run `:TSUpdate`.
|
|
- I have inspected the syntax tree using https://github.com/nvim-treesitter/playground and made sure
|
|
that no `ERROR` nodes are in the syntax tree. nvim-treesitter can not guarantee correct highlighting in the
|
|
presence of `ERROR`s -- in this case, please report the bug directly at corresponding parser's repository. (You can find all repository URLs in [README.md](https://github.com/nvim-treesitter/nvim-treesitter#supported-languages).)
|
|
- I have used `:TSHighlightCapturesUnderCursor` from https://github.com/nvim-treesitter/playground to inspect which highlight groups Neovim is using and that legacy syntax highlighting is not interfering (i.e., what you are observing is actual tree-sitter highlighting).
|
|
|
|
- type: textarea
|
|
attributes:
|
|
label: Describe the highlighting problem
|
|
description: A clear and concise description of what should be highlighted in a different way.
|
|
validations:
|
|
required: true
|
|
|
|
- type: textarea
|
|
attributes:
|
|
label: Example snippet that causes the problem
|
|
description: Please provide an example snippet in plain text that causes the problem.
|
|
validations:
|
|
required: true
|
|
|
|
- type: textarea
|
|
attributes:
|
|
label: Tree-sitter parsing result
|
|
description: |
|
|
Please provide the output of `:TSPlaygroundToggle` from https://github.com/nvim-treesitter/playground
|
|
(screenshot or plain text) with the following options enabled (pressing the key):
|
|
- `I` (name of the parsed language)
|
|
- `t` (toggle injected languages)
|
|
- `a` (show anonymous nodes)
|
|
placeholder: |
|
|
This should look somehow like this:
|
|
```
|
|
preproc_ifdef [0, 0] - [4, 6] cpp
|
|
"#ifdef" [0, 0] - [0, 6] cpp
|
|
name: identifier [0, 7] - [0, 17] cpp
|
|
preproc_def [1, 0] - [2, 0] cpp
|
|
"#define" [1, 0] - [1, 7] cpp
|
|
name: identifier [1, 8] - [1, 16] cpp
|
|
value: preproc_arg [1, 16] - [1, 27] cpp
|
|
"\n" [1, 27] - [2, 0] cpp
|
|
alternative: preproc_else [2, 0] - [4, 0] cpp
|
|
"#else" [2, 0] - [2, 5] cpp
|
|
preproc_def [3, 0] - [4, 0] cpp
|
|
"#define" [3, 0] - [3, 7] cpp
|
|
name: identifier [3, 8] - [3, 16] cpp
|
|
value: preproc_arg [3, 16] - [3, 29] cpp
|
|
```
|
|
validations:
|
|
required: true
|
|
|
|
- type: textarea
|
|
attributes:
|
|
label: Example screenshot
|
|
description: |
|
|
Please provide a screenshot of the current highlighting. Please also tell us the `:h colorscheme` you are using
|
|
and how to install it. If applicable, you can also upload a screenshot with the contents of
|
|
`:TSHighlightCapturesUnderCursor`.
|
|
validations:
|
|
required: true
|
|
|
|
- type: textarea
|
|
attributes:
|
|
label: Expected behavior
|
|
description: |
|
|
A clear and concise description of what you expect to be changed. You can provide screenshot of
|
|
other editors or traditional Vim highlighting that don't show this problem or show a screenshot how
|
|
nvim-treesitter highlighting would look like when a problematic query would be removed/altered.
|
|
|
|
- type: textarea
|
|
attributes:
|
|
label: Output of `:checkhealth nvim-treesitter`
|
|
render: markdown
|
|
validations:
|
|
required: true
|
|
|
|
- type: textarea
|
|
attributes:
|
|
label: Output of `nvim --version`
|
|
render: text
|
|
validations:
|
|
required: true
|
|
|
|
- type: textarea
|
|
attributes:
|
|
label: Additional context
|
|
description: Add any context about the problem here.
|