Skip to content

How to add this plugin in lazy.nvim? #221

Answered by Tim4c
muzzamilr asked this question in Q&A
Discussion options

You must be logged in to vote

Hi, I'm also using AstroNvim v3, I found how to install the plugin by adding event:verylazy in the config file as below:

-- .config/nvim/user/plugins/surround.lua
return {
    "kylechui/nvim-surround",
    event = 'verylazy',
    config = function()
        require("nvim-surround").setup({})
    end
}

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

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

Answer selected by kylechui
Comment options

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