luochen1990 / rainbow

Rainbow Parentheses Improved, shorter code, no level limit, smooth and fast, powerful configuration.
Apache License 2.0
1.78k stars 95 forks source link

[Bug] How to disable this plug-in for `vimwiki` files? #170

Closed geometryolife closed 2 years ago

geometryolife commented 2 years ago

Describe the bug

vimwiki/vimwiki plug-in uses [[]] as the jump index and renders the content. Bugs appear when I set let g:rainbow_active = 1.

To Reproduce

Steps to reproduce the behavior, Please provide a minimal piece of code to produce this issue, along with it's filename and it's filetype detected by vim (via :set ft?), a piece of text is better than a picture here. For example:

File: bug.vimwiki, filetype=vimwiki

Expected behavior

A clear and concise description of what you expected to happen.

Screenshots

F37A59E2-A213-44DE-9610-44BE6FF3A932 339FD04B-E908-4108-B573-2A4886494C03