doctorfree / cheatsheet.nvim

A cheatsheet plugin for neovim with bundled cheatsheets for the editor, multiple vim plugins, nerd-fonts, regex, etc. with a Telescope fuzzy finder interface !
31 stars 2 forks source link

Config not being respected when using Lazy #4

Open Tylerc230 opened 3 months ago

Tylerc230 commented 3 months ago

I've installed the following config but I still see cheats in telescope (I would expect all cheatsheets to be disabled so nothing would show up in telescope).

{
        "doctorfree/cheatsheet.nvim",
        event = "VeryLazy",
        dependencies = {
            { "nvim-telescope/telescope.nvim" },
            { "nvim-lua/popup.nvim" },
            { "nvim-lua/plenary.nvim" },
        },
        config = function()
            local ctactions = require("cheatsheet.telescope.actions")
            require("cheatsheet").setup({
                bundled_cheetsheets = false,
                bundled_plugin_cheatsheets = false,
                include_only_installed_plugins = true,
                telescope_mappings = {
                    ["<CR>"] = ctactions.select_or_fill_commandline,
                    ["<A-CR>"] = ctactions.select_or_execute,
                    ["<C-Y>"] = ctactions.copy_cheat_value,
                    ["<C-E>"] = ctactions.edit_user_cheatsheet,
                },
            })
        end,
    }
fserb commented 1 month ago

Same thing happening here. It doesn't matter, no matter what I put on any of those settings, nothing change.

fserb commented 1 month ago

argh. That was silly. The example config has a type: s/cheetsheet/cheatsheet.