From b1e353c5a47aca6a86887ce620b6007f24983881 Mon Sep 17 00:00:00 2001 From: Arastoo Khajehee Date: Mon, 30 Mar 2026 17:40:20 +0900 Subject: [PATCH] uuid plugin --- init.lua | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/init.lua b/init.lua index 92ad6951..27c8e93f 100644 --- a/init.lua +++ b/init.lua @@ -770,7 +770,7 @@ require('lazy').setup({ -- : Toggle signature help -- -- See :h blink-cmp-config-keymap for defining your own keymap - preset = 'default', + preset = 'super-tab', -- For more advanced Luasnip keymaps (e.g. selecting choice nodes, expansion) see: -- https://github.com/L3MON4D3/LuaSnip?tab=readme-ov-file#keymaps @@ -921,6 +921,7 @@ require('lazy').setup({ opts = {}, }, + -- image render { '3rd/image.nvim', config = function() @@ -941,6 +942,17 @@ require('lazy').setup({ end, }, + { + 'TrevorS/uuid-nvim', + lazy = true, + config = function() + -- optional configuration + require('uuid-nvim').setup { + case = 'upper', + } + end, + }, + -- The following comments only work if you have downloaded the kickstart repo, not just copy pasted the -- init.lua. If you want these files, they are in the repository, so you can just download them and -- place them in the correct locations. @@ -1120,3 +1132,12 @@ map('n', 'M', function() set_mark(true) end, { desc = 'Set global mark' map('n', "'", 'marks', { desc = 'List marks' }) map('n', '"', 'marks', { desc = 'List all marks' }) + +local uuid = require 'uuid-nvim' +uuid.setup { + case = 'lower', + quotes = 'single', +} + +-- vim.keymap.set('n', 'ut', uuid.toggle_highlighting) +vim.keymap.set('n', 'uu', uuid.insert_v4)