From 7563040a5f6e4e6301a438cac70285c5234c1de7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20La=C3=ADn?= Date: Sat, 10 Aug 2024 16:16:35 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix(nvim):=20codesnap=20absolute?= =?UTF-8?q?=20path?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .config/nvim/lua/plugins/extras/editor/codesnap.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/nvim/lua/plugins/extras/editor/codesnap.lua b/.config/nvim/lua/plugins/extras/editor/codesnap.lua index 794c59e0..527841e5 100644 --- a/.config/nvim/lua/plugins/extras/editor/codesnap.lua +++ b/.config/nvim/lua/plugins/extras/editor/codesnap.lua @@ -9,7 +9,7 @@ return { }, cond = vim.env.KITTY_SCROLLBACK_NVIM == nil, opts = { - save_path = "~/Pictures/Screenshots/Code", -- FIX: Need to find a way for this to work inside vscode and kitty + save_path = (os.getenv("HOME") .. "/Pictures/Screenshots/Code"), title = "CodeSnap.nvim", code_font_family = "JetBrainsMono Nerd Font", watermark_font_family = "JetBrainsMono Nerd Font",