Skip to content

Only inserts the first line #19

@vuki656

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?

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