From 6ad2dee78120dc90c360197c4848e9e0a1f5d38a Mon Sep 17 00:00:00 2001 From: newbie Date: Wed, 7 Feb 2024 13:34:06 +0800 Subject: [PATCH] update --- lua/plugs/edit-plugs.lua | 18 +++++++++--------- snippets/go.json | 6 ++++++ 2 files changed, 15 insertions(+), 9 deletions(-) diff --git a/lua/plugs/edit-plugs.lua b/lua/plugs/edit-plugs.lua index e0f31f2..d7fe61b 100644 --- a/lua/plugs/edit-plugs.lua +++ b/lua/plugs/edit-plugs.lua @@ -44,16 +44,16 @@ return { }) end }, - { - 'kevinhwang91/nvim-ufo', - dependencies = { - 'kevinhwang91/promise-async' - }, - config = function () - require("ufo").setup() - end + -- { + -- 'kevinhwang91/nvim-ufo', + -- dependencies = { + -- 'kevinhwang91/promise-async' + -- }, + -- config = function () + -- require("ufo").setup() + -- end - }, + -- }, { -- hop "phaazon/hop.nvim", diff --git a/snippets/go.json b/snippets/go.json index 36d096c..206fcd8 100644 --- a/snippets/go.json +++ b/snippets/go.json @@ -18,5 +18,11 @@ " $1", "}" ] + }, + "ctx": { + "prefix": "ctx", + "body": [ + "ctx := context.Background()" + ] } }