silicon.lua
silicon.lua copied to clipboard
Only inserts the first line
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
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?
me too, how to resolve?
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.
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" },
})
@vuki656 thanks for resolving.