From 1c3b1a8f84d4ce798351a3381d853d54a45aa0a3 Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Sun, 7 May 2023 22:48:18 -0500 Subject: [PATCH] feat(nvim): reinclude silicon.nvim --- dots/.config/nvim/lua/plugins/plugins.lua | 48 +++++++++++------------ 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/dots/.config/nvim/lua/plugins/plugins.lua b/dots/.config/nvim/lua/plugins/plugins.lua index d49003b0..a8510566 100755 --- a/dots/.config/nvim/lua/plugins/plugins.lua +++ b/dots/.config/nvim/lua/plugins/plugins.lua @@ -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 {