From e032529ae28ab6b414ee5d0354e3d2f6f25fd0a7 Mon Sep 17 00:00:00 2001 From: Salar Rahmanian Date: Mon, 2 Sep 2024 08:57:41 -0700 Subject: [PATCH] neoclip corrections --- lua/plugins/neoclip.lua | 2 +- lua/plugins/telescope.lua | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/lua/plugins/neoclip.lua b/lua/plugins/neoclip.lua index 34c6ab5..80e2fed 100644 --- a/lua/plugins/neoclip.lua +++ b/lua/plugins/neoclip.lua @@ -9,7 +9,7 @@ return { enable_persistent_history = true, length_limit = 1048576, continuous_sync = false, - db_path = vim.fn.stdpath("data") .. "/databases/neoclip.sqlite3", + db_path = vim.fn.stdpath("data") .. "~/.config/databases/neoclip.sqlite3", filter = nil, preview = true, prompt = nil, diff --git a/lua/plugins/telescope.lua b/lua/plugins/telescope.lua index 6dfe88c..d8975d1 100644 --- a/lua/plugins/telescope.lua +++ b/lua/plugins/telescope.lua @@ -25,6 +25,7 @@ return { pcall(require("telescope").load_extension, "scaladex") pcall(require("telescope").load_extension, "ui-select") pcall(require("telescope").load_extension, "undo") + pcall(require("telescope").load_extension, "neoclip") -- See `:help telescope.builtin` vim.keymap.set("n", "?", require("telescope.builtin").oldfiles, { desc = "[?] Find recently opened files" }) -- 2.46.1