Updated nvim silicon
This commit is contained in:
@@ -1,12 +1,11 @@
|
|||||||
--- @type LazyPluginSpec
|
--- @type LazyPluginSpec
|
||||||
return {
|
return {
|
||||||
"michaelrommel/nvim-silicon",
|
"michaelrommel/nvim-silicon",
|
||||||
lazy = true,
|
|
||||||
cmd = "Silicon",
|
cmd = "Silicon",
|
||||||
keys = {
|
keys = {
|
||||||
{
|
{
|
||||||
"<leader>sc",
|
"<leader>sc",
|
||||||
"<cmd>Silicon<CR>",
|
":Silicon<CR>",
|
||||||
mode = { "v" },
|
mode = { "v" },
|
||||||
desc = "Capture code to image",
|
desc = "Capture code to image",
|
||||||
},
|
},
|
||||||
@@ -21,6 +20,7 @@ return {
|
|||||||
-- background_image = nil,
|
-- background_image = nil,
|
||||||
gobble = true,
|
gobble = true,
|
||||||
num_separator = " ",
|
num_separator = " ",
|
||||||
|
no_line_number = true,
|
||||||
output = function()
|
output = function()
|
||||||
return tmpdir .. os.date("!%Y-%m-%dT%H-%M-%S") .. "_code.png"
|
return tmpdir .. os.date("!%Y-%m-%dT%H-%M-%S") .. "_code.png"
|
||||||
end,
|
end,
|
||||||
|
|||||||
Reference in New Issue
Block a user