fix(nvim): comment out silicon.nvim

Currently it hard crashes neovim on nightly
This commit is contained in:
Price Hiller 2023-03-24 11:22:04 -05:00
parent d5124fa79a
commit 3f395f2b39
Signed by: Price
SSH Key Fingerprint: SHA256:Y4S9ZzYphRn1W1kbJerJFO6GGsfu9O70VaBSxJO7dF8

View File

@ -763,30 +763,30 @@ lazy.setup({
}, },
-- Take a screenshot of code selected -- Take a screenshot of code selected
{ -- {
"krivahtoo/silicon.nvim", -- "krivahtoo/silicon.nvim",
build = "./install.sh build", -- build = "./install.sh build",
event = "VeryLazy", -- event = "VeryLazy",
dependencies = { -- dependencies = {
"kyazdani42/nvim-web-devicons", -- "kyazdani42/nvim-web-devicons",
}, -- },
config = function() -- config = function()
require("silicon").setup({ -- require("silicon").setup({
font = "FiraCode Nerd Font=20", -- font = "FiraCode Nerd Font=20",
theme = "Monokai Extended", -- theme = "Monokai Extended",
background = "#87F", -- background = "#87F",
pad_vert = 60, -- pad_vert = 60,
pad_horiz = 40, -- pad_horiz = 40,
line_number = true, -- line_number = true,
gobble = true, -- gobble = true,
window_title = function() -- window_title = function()
local devicons = require("nvim-web-devicons") -- local devicons = require("nvim-web-devicons")
local icon = devicons.get_icon_by_filetype(vim.bo.filetype) -- local icon = devicons.get_icon_by_filetype(vim.bo.filetype)
return icon .. " " .. vim.fn.fnamemodify(vim.fn.bufname(vim.fn.bufnr()), ":~:.") -- return icon .. " " .. vim.fn.fnamemodify(vim.fn.bufname(vim.fn.bufnr()), ":~:.")
end, -- end,
}) -- })
end, -- end,
}, -- },
-- Nice sidebar cursor goodies -- Nice sidebar cursor goodies
{ {