Skip to content

Way to dynamically change content of presets built-in plugin in my nvim config? #902

Closed Answered by proofer
proofer asked this question in Q&A
Discussion options

You must be logged in to vote

Groups can be specified in the nvim config to override the one in the presets built-in plugin. So I added the following in the file shown in the OP:

    {
        'folke/which-key.nvim',
        opts = {
            spec = {
                -- override `presets` built-in plugin's group settings
                { ';', group = 'surround' },
                { ',', group = '' }, -- ',' is now a NOP and available for custom mappings
            },
        },
    },

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by proofer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant