Skip to content

Using Cloak.nvim #2640

Closed Answered by siduck
Eshanatnight asked this question in Q&A
Jan 28, 2024 · 1 comments · 3 replies
Discussion options

You must be logged in to vote

@Eshanatnight you dont have to use opts here, we use it so users can override it from their configs. just directly pass in config function

 {
        "laytan/cloak.nvim",
         event = 'VeryLazy',
        config = function()
            print "loading cloak"
             local opts = require "custom.configs.cloak"
            require("cloak").setup(opts)
        end,
    },
 

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@Eshanatnight
Comment options

@siduck
Comment options

Answer selected by Eshanatnight
@Eshanatnight
Comment options

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