Skip to content

Minor docs cleanup #69

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,9 @@ same parameters as `g:rainbow-delimiters`.
query = {
-- ...
},
priority = {
-- ...
},
highlight = {
-- ...
},
Expand Down
11 changes: 0 additions & 11 deletions TODO.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,26 +5,15 @@
#######################


Built-in queries
################

As of version 0.8.3 Neovim can only match one node per query. This is a
limitation of Neovim and there is nothing that can be done on this end.

The global query does not updated the highlighting of injected languages.


Queries which I cannot port
===========================

I do not know enough about the following languages in order to write good
queries. Contributions are welcome.

- devicetree
- elm
- gdscript
- graphql
- kotlin
- meson
- ocaml
- ocaml_interface
Expand Down
6 changes: 5 additions & 1 deletion doc/rainbow-delimiters.txt
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,10 @@ available as part of a Lua module.
[''] = 'rainbow-delimiters',
latex = 'rainbow-blocks',
},
priority = {
[''] = 110,
lua = 210,
},
highlight = {
'RainbowDelimiterRed',
'RainbowDelimiterYellow',
Expand Down Expand Up @@ -617,7 +621,7 @@ In HTML the terminating slash in a self-closing tag is optional. Instead of
(element
(start_tag
"<" @delimiter
(tag_name) @delimiter @_tag_name
(tag_name) @delimiter
">" @delimiter @sentinel)) @container
<
However, this query also matches the opening tag of regular tags like `<div>`.
Expand Down