feat(nvim): reinclude silicon.nvim
This commit is contained in:
parent
6b10ade655
commit
1c3b1a8f84
@ -767,30 +767,30 @@ lazy.setup({
|
||||
},
|
||||
|
||||
-- Take a screenshot of code selected
|
||||
-- {
|
||||
-- "krivahtoo/silicon.nvim",
|
||||
-- build = "./install.sh build",
|
||||
-- event = "VeryLazy",
|
||||
-- dependencies = {
|
||||
-- "kyazdani42/nvim-web-devicons",
|
||||
-- },
|
||||
-- config = function()
|
||||
-- require("silicon").setup({
|
||||
-- font = "FiraCode Nerd Font=20",
|
||||
-- theme = "Monokai Extended",
|
||||
-- background = "#87F",
|
||||
-- pad_vert = 60,
|
||||
-- pad_horiz = 40,
|
||||
-- line_number = true,
|
||||
-- gobble = true,
|
||||
-- window_title = function()
|
||||
-- local devicons = require("nvim-web-devicons")
|
||||
-- local icon = devicons.get_icon_by_filetype(vim.bo.filetype)
|
||||
-- return icon .. " " .. vim.fn.fnamemodify(vim.fn.bufname(vim.fn.bufnr()), ":~:.")
|
||||
-- end,
|
||||
-- })
|
||||
-- end,
|
||||
-- },
|
||||
{
|
||||
"krivahtoo/silicon.nvim",
|
||||
build = "./install.sh build",
|
||||
event = "VeryLazy",
|
||||
dependencies = {
|
||||
"kyazdani42/nvim-web-devicons",
|
||||
},
|
||||
config = function()
|
||||
require("silicon").setup({
|
||||
font = "FiraCode Nerd Font=20",
|
||||
theme = "Monokai Extended",
|
||||
background = "#87F",
|
||||
pad_vert = 60,
|
||||
pad_horiz = 40,
|
||||
line_number = true,
|
||||
gobble = true,
|
||||
window_title = function()
|
||||
local devicons = require("nvim-web-devicons")
|
||||
local icon = devicons.get_icon_by_filetype(vim.bo.filetype)
|
||||
return icon .. " " .. vim.fn.fnamemodify(vim.fn.bufname(vim.fn.bufnr()), ":~:.")
|
||||
end,
|
||||
})
|
||||
end,
|
||||
},
|
||||
|
||||
-- Nice sidebar cursor goodies
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user