Skip to content

[Bug]: Invalid strategies all of a sudden #165

Open
@pillmuncher

Description

@pillmuncher

Neovim version

0.10.3

Language affected

Lua

Query

No response

Strategy

No response

Description

After the latest update I'm getting :check_health errors:

rainbow-delimiters: require("rainbow-delimiters.health").check()

Custom strategies ~
- ERROR Invalid custom default strategy.
  - ADVICE:
    - See :help |rb-delimiters-strategy| for the strategy protocol
- ERROR Invalid custom strategy for 'vim'
  - ADVICE:
    - See :help |rb-delimiters-strategy| for the strategy protocol

I haven't changed my strategy settings:

return {
    'HiPhish/rainbow-delimiters.nvim',
    config = function()
        local rainbow_delimiters = require('rainbow-delimiters')
        require('rainbow-delimiters.setup').setup({
            strategy = {
                [''] = rainbow_delimiters.strategy['global'],
                vim = rainbow_delimiters.strategy['local'],
            },
            query = {
                [''] = 'rainbow-delimiters',
                lua = 'rainbow-blocks',
            },
            priority = {
                [''] = 110,
                lua = 210,
            },
            highlight = {
                'RainbowDelimiterRed',
                'RainbowDelimiterYellow',
                'RainbowDelimiterBlue',
                'RainbowDelimiterOrange',
                'RainbowDelimiterGreen',
                'RainbowDelimiterViolet',
                'RainbowDelimiterCyan',
            }
        })
    end
}

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions