Skip to content

Only inserts the first line #19

Open

Description

@vuki656

Hey,

thanks for the cool plugin.

It used to work as expected but now when I yank some text and invoke the create screenshot command it only outputs the first line like so
image

Here is my config

local silicon = require("silicon")

local set_keymap = require("utils.set-keymap")

silicon.setup({ theme = "TwoDark" })

set_keymap({
    modes = { "n" },
    key = "<LEADER>ss",
    actions = function()
        silicon.visualise_api({ to_clip = true })
    end,
    description = "Screenshot yanked/copied code",
})

Am I doing something wrong?

Activity

  1. TBBtianbaoboy commented on Nov 16, 2022

    @TBBtianbaoboy

    me too, how to resolve?

  2. 0oAstro commented on Nov 16, 2022

    @0oAstro
    Owner

    Sorry but I'm a bit busy with academics and don't have slightest of time for a week straight. So this issue and others might take some time.

  3. vuki656 commented on Mar 1, 2023

    @vuki656
    Author

    me too, how to resolve?

    I set it to a previous commit like so and it works:

            use({
                "narutoxy/silicon.lua",
                config = load_file("screenshot"),
                commit = "3223d26456f728870cacab91662d03bbace6e354",
                requires = { "nvim-lua/plenary.nvim" },
            })
  4. TBBtianbaoboy commented on Mar 31, 2023

    @TBBtianbaoboy

    @vuki656 thanks for resolving.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions