From bb049817481fcc86d124fd7077b61bdfd7203449 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20La=C3=ADn?= Date: Fri, 5 Jan 2024 16:49:48 +0100 Subject: [PATCH] =?UTF-8?q?=E2=9A=99=EF=B8=8F=20config(nvim):=20add=20new?= =?UTF-8?q?=20templates=20for=20esqueleto=20extra?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .config/btop/btop.conf | 2 +- .config/nvim/lazy-lock.json | 4 ++-- .config/nvim/lua/plugins/extras/util/esqueleto.lua | 12 ++++++++++-- 3 files changed, 13 insertions(+), 5 deletions(-) diff --git a/.config/btop/btop.conf b/.config/btop/btop.conf index 177ffdd1..c050bc7a 100644 --- a/.config/btop/btop.conf +++ b/.config/btop/btop.conf @@ -209,4 +209,4 @@ selected_battery = "Auto" #* Set loglevel for "~/.config/btop/btop.log" levels are: "ERROR" "WARNING" "INFO" "DEBUG". #* The level set includes all lower levels, i.e. "DEBUG" will show all logging info. -log_level = "WARNING" \ No newline at end of file +log_level = "WARNING" diff --git a/.config/nvim/lazy-lock.json b/.config/nvim/lazy-lock.json index 45b7cc56..97cf04d3 100644 --- a/.config/nvim/lazy-lock.json +++ b/.config/nvim/lazy-lock.json @@ -30,7 +30,7 @@ "friendly-snippets": { "branch": "main", "commit": "53d3df271d031c405255e99410628c26a8f0d2b0" }, "garbage-day.nvim": { "branch": "main", "commit": "957499b8a493974bd7002b68b1f15f7d285e0dd1" }, "git-worktree.nvim": { "branch": "master", "commit": "f247308e68dab9f1133759b05d944569ad054546" }, - "gitsigns.nvim": { "branch": "main", "commit": "d195f0c35ced5174d3ecce1c4c8ebb3b5bc23fa9" }, + "gitsigns.nvim": { "branch": "main", "commit": "3e6e91b09f0468c32d3b96dcacf4b947f037ce25" }, "glance.nvim": { "branch": "master", "commit": "8ed5cf3b3b1231ea696d88c9efd977027429d869" }, "harpoon": { "branch": "harpoon2", "commit": "6afc142443f8135329f8dd09b77e229f65001c0c" }, "headlines.nvim": { "branch": "master", "commit": "e3d7bfdf40e41a020d966d35f8b48d75b90367d2" }, @@ -87,7 +87,7 @@ "nvim-recorder": { "branch": "main", "commit": "daaae505862e816a7efe578e22d6f3d10cd7a2e6" }, "nvim-scissors": { "branch": "main", "commit": "9da7c0f032631d6f48501ac3d43d017c988effcf" }, "nvim-spectre": { "branch": "master", "commit": "d8906855f1949ac97b1e77aaf8d3fe12ed158ddc" }, - "nvim-treesitter": { "branch": "master", "commit": "8ae4080c5ba59d81b4e49525d4168807bc098e73" }, + "nvim-treesitter": { "branch": "master", "commit": "adf423a493f9e91d5dc4369b46e5a7e83e4c783e" }, "nvim-treesitter-context": { "branch": "master", "commit": "652ec514d6ba8bc4a3c2de76c855fe668e2c7196" }, "nvim-treesitter-endwise": { "branch": "master", "commit": "4c344ffc8d54d7e1ba2cefaaa2c10ea93aa1cc2d" }, "nvim-treesitter-textobjects": { "branch": "master", "commit": "85b9d0cbd4ff901abcda862b50dbb34e0901848b" }, diff --git a/.config/nvim/lua/plugins/extras/util/esqueleto.lua b/.config/nvim/lua/plugins/extras/util/esqueleto.lua index 9e45be5a..8b6315fe 100644 --- a/.config/nvim/lua/plugins/extras/util/esqueleto.lua +++ b/.config/nvim/lua/plugins/extras/util/esqueleto.lua @@ -2,10 +2,18 @@ return { "cvigilv/esqueleto.nvim", event = "VeryLazy", opts = { - directories = { vim.fn.stdpath("config") .. "/templates" }, + directories = { + vim.fn.stdpath("config") .. "/templates", + }, patterns = { - "LICENSE", + -- File "README", + "LICENSE", + -- Filetype + "sh", + "markdown", + "python", + "lua", }, }, }