From 4371ddbbc7d40734a69c3ba81636cb362fdd391e Mon Sep 17 00:00:00 2001 From: Jakpat Mingmongkolmitr Date: Mon, 6 Sep 2021 00:17:17 +0700 Subject: fix: load nvim_comment setup from core module (#1476) --- lua/plugins.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lua/plugins.lua') diff --git a/lua/plugins.lua b/lua/plugins.lua index 8a0692f2..98721c6c 100644 --- a/lua/plugins.lua +++ b/lua/plugins.lua @@ -116,7 +116,7 @@ return { "terrortylor/nvim-comment", event = "BufRead", config = function() - require("nvim_comment").setup() + require("core.comment").setup() end, disable = not lvim.builtin.comment.active, }, -- cgit v1.2.3 From 129768da1d5903dfe05d4f530548b5e6919a9eb3 Mon Sep 17 00:00:00 2001 From: Abouzar Parvan Date: Mon, 6 Sep 2021 18:35:12 +0430 Subject: nvim-toggleterm has been renamed to toggleterm Fix #1489 --- lua/plugins.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lua/plugins.lua') diff --git a/lua/plugins.lua b/lua/plugins.lua index 98721c6c..d3f9b3c9 100644 --- a/lua/plugins.lua +++ b/lua/plugins.lua @@ -183,7 +183,7 @@ return { -- Terminal { - "akinsho/nvim-toggleterm.lua", + "akinsho/toggleterm.lua", event = "BufWinEnter", config = function() require("core.terminal").setup() -- cgit v1.2.3 From a5bd420cb719995b4d46d603ef976065dfb5a772 Mon Sep 17 00:00:00 2001 From: Abouzar Parvan Date: Mon, 6 Sep 2021 18:36:28 +0430 Subject: toggleterm.nvim not toggleterm.lua :facepalm: --- lua/plugins.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lua/plugins.lua') diff --git a/lua/plugins.lua b/lua/plugins.lua index d3f9b3c9..ef9ae041 100644 --- a/lua/plugins.lua +++ b/lua/plugins.lua @@ -183,7 +183,7 @@ return { -- Terminal { - "akinsho/toggleterm.lua", + "akinsho/toggleterm.nvim", event = "BufWinEnter", config = function() require("core.terminal").setup() -- cgit v1.2.3 From 9ece2e5369de46962422837be3dce3b8e889805d Mon Sep 17 00:00:00 2001 From: Christian Chiarulli Date: Tue, 7 Sep 2021 19:23:14 -0400 Subject: feat: compe -> cmp (#1496) --- lua/plugins.lua | 44 ++++++++++++++++---------------------------- 1 file changed, 16 insertions(+), 28 deletions(-) (limited to 'lua/plugins.lua') diff --git a/lua/plugins.lua b/lua/plugins.lua index ef9ae041..be614c5f 100644 --- a/lua/plugins.lua +++ b/lua/plugins.lua @@ -24,49 +24,36 @@ return { end, disable = not lvim.builtin.telescope.active, }, - - -- Completion & Snippets + -- Install nvim-cmp, and buffer source as a dependency { - "hrsh7th/nvim-compe", - event = "InsertEnter", + "hrsh7th/nvim-cmp", config = function() - require("core.compe").setup() + require("core.cmp").setup() end, - disable = not lvim.builtin.compe.active, - -- wants = "vim-vsnip", - -- requires = { - -- { - -- "hrsh7th/vim-vsnip", - -- wants = "friendly-snippets", - -- event = "InsertCharPre", - -- }, - -- { - -- "rafamadriz/friendly-snippets", - -- event = "InsertCharPre", - -- }, - -- }, - }, - { - "hrsh7th/vim-vsnip", - -- wants = "friendly-snippets", - event = "InsertEnter", - disable = not lvim.builtin.compe.active, + requires = { + "L3MON4D3/LuaSnip", + "saadparwaiz1/cmp_luasnip", + "hrsh7th/cmp-buffer", + "hrsh7th/cmp-nvim-lsp", + "hrsh7th/cmp-path", + "hrsh7th/cmp-nvim-lua", + }, }, { "rafamadriz/friendly-snippets", - event = "InsertCharPre", - disable = not lvim.builtin.compe.active, + -- event = "InsertCharPre", + -- disable = not lvim.builtin.compe.active, }, -- Autopairs { "windwp/nvim-autopairs", -- event = "InsertEnter", - after = "nvim-compe", + after = "nvim-cmp", config = function() require("core.autopairs").setup() end, - disable = not lvim.builtin.autopairs.active or not lvim.builtin.compe.active, + disable = not lvim.builtin.autopairs.active, }, -- Treesitter @@ -98,6 +85,7 @@ return { require("core.gitsigns").setup() end, event = "BufRead", + commit = "25d4b182ece5b03cd4b2d8c196f3c38e0df58801", disable = not lvim.builtin.gitsigns.active, }, -- cgit v1.2.3 From 6974e109c67e28284ca7f12614bb16655288bd16 Mon Sep 17 00:00:00 2001 From: Abouzar Parvan Date: Thu, 9 Sep 2021 05:12:17 +0430 Subject: feature: unpin gitsigns to use the latest bugfix commits on their repo (#1509) --- lua/plugins.lua | 1 - 1 file changed, 1 deletion(-) (limited to 'lua/plugins.lua') diff --git a/lua/plugins.lua b/lua/plugins.lua index be614c5f..ae20fc93 100644 --- a/lua/plugins.lua +++ b/lua/plugins.lua @@ -85,7 +85,6 @@ return { require("core.gitsigns").setup() end, event = "BufRead", - commit = "25d4b182ece5b03cd4b2d8c196f3c38e0df58801", disable = not lvim.builtin.gitsigns.active, }, -- cgit v1.2.3 From e93c6abab7d9fb3885cb53310d840204ff6ffc01 Mon Sep 17 00:00:00 2001 From: Chase Colman <5411+chase@users.noreply.github.com> Date: Mon, 13 Sep 2021 13:47:25 +0800 Subject: Fix loading cmp config after Packer install (#1524) --- lua/plugins.lua | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'lua/plugins.lua') diff --git a/lua/plugins.lua b/lua/plugins.lua index ae20fc93..178fb99e 100644 --- a/lua/plugins.lua +++ b/lua/plugins.lua @@ -38,6 +38,12 @@ return { "hrsh7th/cmp-path", "hrsh7th/cmp-nvim-lua", }, + run = function() + -- cmp's config requires cmp to be installed to run the first time + if not lvim.builtin.cmp then + require("core.cmp").config() + end + end, }, { "rafamadriz/friendly-snippets", -- cgit v1.2.3 From 0cbc1e9425445401d338e6f68f0c9910b31886cc Mon Sep 17 00:00:00 2001 From: chaesngmin Date: Tue, 14 Sep 2021 09:06:50 -0700 Subject: feat(lualine): pin commit to avoid breaking config (#1546) --- lua/plugins.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'lua/plugins.lua') diff --git a/lua/plugins.lua b/lua/plugins.lua index 178fb99e..95c090f3 100644 --- a/lua/plugins.lua +++ b/lua/plugins.lua @@ -131,6 +131,7 @@ return { -- "hoob3rt/lualine.nvim", "shadmansaleh/lualine.nvim", -- "Lunarvim/lualine.nvim", + commit = "62bfe80fb6e0cd51cec6fc9df9e1768f7d37d299", config = function() require("core.lualine").setup() end, -- cgit v1.2.3 From df0da6fc75c60c8bd2791b7cdb9d05d12a25bb50 Mon Sep 17 00:00:00 2001 From: Abouzar Parvan Date: Wed, 15 Sep 2021 23:41:21 +0430 Subject: [bugfix] Update lualine according to the breaking changes (#1558) --- lua/plugins.lua | 1 - 1 file changed, 1 deletion(-) (limited to 'lua/plugins.lua') diff --git a/lua/plugins.lua b/lua/plugins.lua index 95c090f3..178fb99e 100644 --- a/lua/plugins.lua +++ b/lua/plugins.lua @@ -131,7 +131,6 @@ return { -- "hoob3rt/lualine.nvim", "shadmansaleh/lualine.nvim", -- "Lunarvim/lualine.nvim", - commit = "62bfe80fb6e0cd51cec6fc9df9e1768f7d37d299", config = function() require("core.lualine").setup() end, -- cgit v1.2.3 From 6b79e00cb04bf889fc30b84482d6db6e951ca9e9 Mon Sep 17 00:00:00 2001 From: Abouzar Parvan Date: Tue, 28 Sep 2021 23:59:50 +0330 Subject: pin barbar to fix #1636 --- lua/plugins.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'lua/plugins.lua') diff --git a/lua/plugins.lua b/lua/plugins.lua index 178fb99e..adebe492 100644 --- a/lua/plugins.lua +++ b/lua/plugins.lua @@ -139,6 +139,7 @@ return { { "romgrk/barbar.nvim", + commit = "7a19aac3d401c997a6fb7067a7756a4a77184c2e", config = function() require("core.bufferline").setup() end, -- cgit v1.2.3 From 974061729256d2a965cad0f1bc133eb2debc7867 Mon Sep 17 00:00:00 2001 From: Abouzar Parvan Date: Wed, 29 Sep 2021 09:31:45 +0330 Subject: barbar is fixed upstream --- lua/plugins.lua | 1 - 1 file changed, 1 deletion(-) (limited to 'lua/plugins.lua') diff --git a/lua/plugins.lua b/lua/plugins.lua index adebe492..178fb99e 100644 --- a/lua/plugins.lua +++ b/lua/plugins.lua @@ -139,7 +139,6 @@ return { { "romgrk/barbar.nvim", - commit = "7a19aac3d401c997a6fb7067a7756a4a77184c2e", config = function() require("core.bufferline").setup() end, -- cgit v1.2.3 From d01ba08eaec1640ac2d038893525b3ba0af25813 Mon Sep 17 00:00:00 2001 From: kylo252 <59826753+kylo252@users.noreply.github.com> Date: Sun, 3 Oct 2021 16:13:46 +0200 Subject: refactor: auto-generate language configuration (#1584) Refactor the monolithic `lvim.lang` design into a more modular approach. IMPORTANT: run `:LvimUpdate` in order to generate the new ftplugin template files. --- lua/plugins.lua | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'lua/plugins.lua') diff --git a/lua/plugins.lua b/lua/plugins.lua index 178fb99e..d7f47fcb 100644 --- a/lua/plugins.lua +++ b/lua/plugins.lua @@ -6,12 +6,7 @@ return { { "jose-elias-alvarez/null-ls.nvim" }, { "antoinemadec/FixCursorHold.nvim" }, -- Needed while issue https://github.com/neovim/neovim/issues/12587 is still open { - "kabouzeid/nvim-lspinstall", - event = "VimEnter", - config = function() - local lspinstall = require "core.lspinstall" - lspinstall.setup() - end, + "williamboman/nvim-lsp-installer", }, { "nvim-lua/popup.nvim" }, -- cgit v1.2.3