From 52b74557415eb757ad4b7481b0aec8a3f98dd58d Mon Sep 17 00:00:00 2001 From: kylo252 <59826753+kylo252@users.noreply.github.com> Date: Sun, 10 Oct 2021 21:07:41 +0200 Subject: feat: add an independent lvim namespace (#1699) --- lua/lvim/plugins.lua | 180 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 180 insertions(+) create mode 100644 lua/lvim/plugins.lua (limited to 'lua/lvim/plugins.lua') diff --git a/lua/lvim/plugins.lua b/lua/lvim/plugins.lua new file mode 100644 index 00000000..fcb23328 --- /dev/null +++ b/lua/lvim/plugins.lua @@ -0,0 +1,180 @@ +return { + -- Packer can manage itself as an optional plugin + { "wbthomason/packer.nvim" }, + { "neovim/nvim-lspconfig" }, + { "tamago324/nlsp-settings.nvim" }, + { "jose-elias-alvarez/null-ls.nvim" }, + { "antoinemadec/FixCursorHold.nvim" }, -- Needed while issue https://github.com/neovim/neovim/issues/12587 is still open + { + "williamboman/nvim-lsp-installer", + }, + + { "nvim-lua/popup.nvim" }, + { "nvim-lua/plenary.nvim" }, + -- Telescope + { + "nvim-telescope/telescope.nvim", + config = function() + require("lvim.core.telescope").setup() + end, + disable = not lvim.builtin.telescope.active, + }, + -- Install nvim-cmp, and buffer source as a dependency + { + "hrsh7th/nvim-cmp", + config = function() + require("lvim.core.cmp").setup() + end, + requires = { + "L3MON4D3/LuaSnip", + "saadparwaiz1/cmp_luasnip", + "hrsh7th/cmp-buffer", + "hrsh7th/cmp-nvim-lsp", + "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("lvim.core.cmp").config() + end + end, + }, + { + "rafamadriz/friendly-snippets", + -- event = "InsertCharPre", + -- disable = not lvim.builtin.compe.active, + }, + + -- Autopairs + { + "windwp/nvim-autopairs", + -- event = "InsertEnter", + config = function() + require("lvim.core.autopairs").setup() + end, + disable = not lvim.builtin.autopairs.active, + }, + + -- Treesitter + { + "nvim-treesitter/nvim-treesitter", + branch = "0.5-compat", + -- run = ":TSUpdate", + config = function() + require("lvim.core.treesitter").setup() + end, + }, + + -- NvimTree + { + "kyazdani42/nvim-tree.lua", + -- event = "BufWinOpen", + -- cmd = "NvimTreeToggle", + -- commit = "fd7f60e242205ea9efc9649101c81a07d5f458bb", + config = function() + require("lvim.core.nvimtree").setup() + end, + disable = not lvim.builtin.nvimtree.active, + }, + + { + "lewis6991/gitsigns.nvim", + + config = function() + require("lvim.core.gitsigns").setup() + end, + event = "BufRead", + disable = not lvim.builtin.gitsigns.active, + }, + + -- Whichkey + { + "folke/which-key.nvim", + config = function() + require("lvim.core.which-key").setup() + end, + event = "BufWinEnter", + disable = not lvim.builtin.which_key.active, + }, + + -- Comments + { + "terrortylor/nvim-comment", + event = "BufRead", + config = function() + require("lvim.core.comment").setup() + end, + disable = not lvim.builtin.comment.active, + }, + + -- project.nvim + { + "ahmedkhalf/project.nvim", + config = function() + require("lvim.core.project").setup() + end, + disable = not lvim.builtin.project.active, + }, + + -- Icons + { "kyazdani42/nvim-web-devicons" }, + + -- Status Line and Bufferline + { + -- "hoob3rt/lualine.nvim", + "shadmansaleh/lualine.nvim", + -- "Lunarvim/lualine.nvim", + config = function() + require("lvim.core.lualine").setup() + end, + disable = not lvim.builtin.lualine.active, + }, + + { + "romgrk/barbar.nvim", + config = function() + require("lvim.core.bufferline").setup() + end, + event = "BufWinEnter", + disable = not lvim.builtin.bufferline.active, + }, + + -- Debugging + { + "mfussenegger/nvim-dap", + -- event = "BufWinEnter", + config = function() + require("lvim.core.dap").setup() + end, + disable = not lvim.builtin.dap.active, + }, + + -- Debugger management + { + "Pocco81/DAPInstall.nvim", + -- event = "BufWinEnter", + -- event = "BufRead", + disable = not lvim.builtin.dap.active, + }, + + -- Dashboard + { + "ChristianChiarulli/dashboard-nvim", + event = "BufWinEnter", + config = function() + require("lvim.core.dashboard").setup() + end, + disable = not lvim.builtin.dashboard.active, + }, + + -- Terminal + { + "akinsho/toggleterm.nvim", + event = "BufWinEnter", + config = function() + require("lvim.core.terminal").setup() + end, + disable = not lvim.builtin.terminal.active, + }, +} -- cgit v1.2.3 From 965ea4bbb902d2f58108c5c01fcb6442e6aff51b Mon Sep 17 00:00:00 2001 From: Abouzar Parvan Date: Mon, 11 Oct 2021 20:05:43 +0330 Subject: fix: correct floating window position in Neovim 0.6 nightly (#1732) --- lua/lvim/plugins.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lua/lvim/plugins.lua') diff --git a/lua/lvim/plugins.lua b/lua/lvim/plugins.lua index fcb23328..44fc4dd3 100644 --- a/lua/lvim/plugins.lua +++ b/lua/lvim/plugins.lua @@ -89,8 +89,10 @@ return { }, -- Whichkey + -- TODO: change back to folke/which-key.nvim after folke got back { - "folke/which-key.nvim", + "abzcoding/which-key.nvim", + branch = "fix/neovim-6-position", config = function() require("lvim.core.which-key").setup() end, -- cgit v1.2.3 From 3dc24cd0c32801afd44c0451932f8245cdf10a49 Mon Sep 17 00:00:00 2001 From: Abouzar Parvan Date: Mon, 11 Oct 2021 20:10:59 +0330 Subject: [Feature] use `Comment.nvim` instead of `nvim-comment` (#1736) --- lua/lvim/plugins.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lua/lvim/plugins.lua') diff --git a/lua/lvim/plugins.lua b/lua/lvim/plugins.lua index 44fc4dd3..84522366 100644 --- a/lua/lvim/plugins.lua +++ b/lua/lvim/plugins.lua @@ -102,7 +102,7 @@ return { -- Comments { - "terrortylor/nvim-comment", + "numToStr/Comment.nvim", event = "BufRead", config = function() require("lvim.core.comment").setup() -- cgit v1.2.3 From ef41a3d24e753b7e82fe31ebe9e74048881c13e8 Mon Sep 17 00:00:00 2001 From: kylo252 <59826753+kylo252@users.noreply.github.com> Date: Fri, 15 Oct 2021 16:33:34 +0200 Subject: feat: better telescope integration (#1702) --- lua/lvim/plugins.lua | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'lua/lvim/plugins.lua') diff --git a/lua/lvim/plugins.lua b/lua/lvim/plugins.lua index 84522366..88cd7ad4 100644 --- a/lua/lvim/plugins.lua +++ b/lua/lvim/plugins.lua @@ -19,6 +19,11 @@ return { end, disable = not lvim.builtin.telescope.active, }, + { + "nvim-telescope/telescope-fzf-native.nvim", + run = "make", + disable = not lvim.builtin.telescope.active, + }, -- Install nvim-cmp, and buffer source as a dependency { "hrsh7th/nvim-cmp", -- cgit v1.2.3 From 25747cfff457d5375b6141588d81017ca515ffcb Mon Sep 17 00:00:00 2001 From: kylo252 <59826753+kylo252@users.noreply.github.com> Date: Thu, 21 Oct 2021 07:42:28 +0200 Subject: [Feature] use structlog and notify.nvim (#1737) Co-authored-by: Luc Sinet --- lua/lvim/plugins.lua | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lua/lvim/plugins.lua') diff --git a/lua/lvim/plugins.lua b/lua/lvim/plugins.lua index 88cd7ad4..f1c1dd1f 100644 --- a/lua/lvim/plugins.lua +++ b/lua/lvim/plugins.lua @@ -8,6 +8,8 @@ return { { "williamboman/nvim-lsp-installer", }, + { "rcarriga/nvim-notify" }, + { "Tastyep/structlog.nvim" }, { "nvim-lua/popup.nvim" }, { "nvim-lua/plenary.nvim" }, -- cgit v1.2.3