From c5978d7e8c047390ec51a7bba78cdd9180954c71 Mon Sep 17 00:00:00 2001 From: Tom Mi Date: Sat, 22 Apr 2023 20:23:56 +0000 Subject: [PATCH 1/3] fix: remove help causing error as nonexistent (#23) --- lua/plugins/example.lua | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lua/plugins/example.lua b/lua/plugins/example.lua index 39f342f..ecc9567 100644 --- a/lua/plugins/example.lua +++ b/lua/plugins/example.lua @@ -142,7 +142,6 @@ return { opts = { ensure_installed = { "bash", - "help", "html", "javascript", "json", @@ -168,8 +167,8 @@ return { opts = function(_, opts) -- add tsx and treesitter vim.list_extend(opts.ensure_installed, { - "tsx", - "typescript", + "tsx", + "typescript", }) end, }, From d9aa1d0f08d2b9b29765132b401175da125031e8 Mon Sep 17 00:00:00 2001 From: Folke Lemaitre Date: Sun, 28 May 2023 12:22:52 +0200 Subject: [PATCH 2/3] style: typo --- lua/plugins/example.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/plugins/example.lua b/lua/plugins/example.lua index ecc9567..5d2c1f8 100644 --- a/lua/plugins/example.lua +++ b/lua/plugins/example.lua @@ -242,7 +242,7 @@ return { if cmp.visible() then cmp.select_next_item() -- You could replace the expand_or_jumpable() calls with expand_or_locally_jumpable() - -- they way you will only jump inside the snippet region + -- this way you will only jump inside the snippet region elseif luasnip.expand_or_jumpable() then luasnip.expand_or_jump() elseif has_words_before() then From a13d5c90769ce6177d1e27b46efd967ed52c1d68 Mon Sep 17 00:00:00 2001 From: Miles Ramage <53498605+JustALawnGnome7@users.noreply.github.com> Date: Fri, 2 Jun 2023 16:27:43 -0500 Subject: [PATCH 3/3] docs: corrected plugin spec location (#25) Also fixed minor typos and ambiguities. --- lua/plugins/example.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lua/plugins/example.lua b/lua/plugins/example.lua index 5d2c1f8..78a3370 100644 --- a/lua/plugins/example.lua +++ b/lua/plugins/example.lua @@ -2,7 +2,7 @@ -- stylua: ignore if true then return {} end --- every spec file under config.plugins will be loaded automatically by lazy.nvim +-- every spec file under the "plugins" directory will be loaded automatically by lazy.nvim -- -- In your plugin files, you can: -- * add extra plugins @@ -196,7 +196,7 @@ return { -- use mini.starter instead of alpha { import = "lazyvim.plugins.extras.ui.mini-starter" }, - -- add jsonls and schemastore ans setup treesitter for json, json5 and jsonc + -- add jsonls and schemastore packages, and setup treesitter for json, json5 and jsonc { import = "lazyvim.plugins.extras.lang.json" }, -- add any tools you want to have installed below