diff --git a/lua/pika/plugins/telesnip.lua b/lua/pika/plugins/telesnip.lua index f2dd45a..8567ba9 100644 --- a/lua/pika/plugins/telesnip.lua +++ b/lua/pika/plugins/telesnip.lua @@ -1,15 +1,22 @@ return { - "https://git.k4li.de/pika/telesnip.nvim", - dependencies = "nvim-telescope/telescope.nvim", - opts = { - -- snippet_path = "/path/to/your/snippets", - -- custom_snippet_path = "/path/to/your/custom/snippets", - }, - config = function(_, opts) - require("telesnip").setup(opts) - end, - keys = { - { "S", "TelesnipShowSnippets", desc = "Open Snippet Picker" }, - { "cs", "TelesnipCustomSnippet", mode = "v", desc = "Save Custom Snippet" }, - }, -} \ No newline at end of file + "https://git.k4li.de/pika/telesnip.nvim", + dependencies = "nvim-telescope/telescope.nvim", + opts = { + -- ╭────────────────────────────────────────────────────────────────────────╮ + -- │ customize your custom_snippet_path (if you change the snippet_path │ + -- │ you might break something, as this is the directory for the snippets │ + -- │ inside the plugin folder) │ + -- ╰────────────────────────────────────────────────────────────────────────╯ + -- snippet_path = "/path/to/your/snippets", + -- custom_snippet_path = "~/.config/nvim/snippets/", + }, + config = function(_, opts) + require("telesnip").setup(opts) + end, + keys = { + -- ─< just the standard two keybindings I configured. Be sure to make your own one, if you'd like >─ + { "S", "TelesnipShowSnippets", desc = "Open Snippet Picker" }, + { "cs", "TelesnipCustomSnippet", mode = "v", desc = "Save Custom Snippet" }, + }, +} +