Skip to content

Commit

Permalink
Merge pull request #185 from timsu92/master
Browse files Browse the repository at this point in the history
docs(readme): fix conflict with NERDTree
  • Loading branch information
luochen1990 authored Oct 8, 2022
2 parents c18071e + 9a85b59 commit 61f719a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ let g:rainbow_conf = {
\ 'parentheses': ['start=/{/ end=/}/ fold contains=@colorableGroup'], "[vim css color](https://github.com/ap/vim-css-color) compatibility
\ },
\ 'css': 0, "disable this plugin for css files
\ 'nerdtree': 0, "rainbow is conflicting with NERDTree, creating extra parentheses
\ }
\}
```
Expand Down
1 change: 1 addition & 0 deletions README_zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ let g:rainbow_active = 1 "0 if you want to enable it later via :RainbowToggle
\ 'parentheses': ['start=/\v\<((area|base|br|col|embed|hr|img|input|keygen|link|menuitem|meta|param|source|track|wbr)[ >])@!\z([-_:a-zA-Z0-9]+)(\s+[-_:a-zA-Z0-9]+(\=("[^"]*"|'."'".'[^'."'".']*'."'".'|[^ '."'".'"><=`]*))?)*\>/ end=#</\z1># fold'],
\ },
\ 'css': 0,
\ 'nerdtree': 0, "NERDTree與Rainbow會衝突,產生多餘的括號
\ }
\}
```
Expand Down

0 comments on commit 61f719a

Please sign in to comment.