Skip to content

Where should I put my augroups tables? #136

Answered by Cicero24C
Cicero24C asked this question in Q&A
Discussion options

You must be logged in to vote

alright, i find it pretty simple, just put augroups into autocmds body. No more bothering needed.

require("legendary").setup({
    autocmds = {
        {
            name = 'quithelp',
            clear = true,
            {
                'FileType',
                'nnoremap <buffer> q :helpclose<CR>',
                opts = {
                    pattern = {'help'},
                },
            },
        },
    },
})

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@mrjones2014
Comment options

Answer selected by mrjones2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants