From f56d250688529f46bdfa2f8174a5bbdc160b3da8 Mon Sep 17 00:00:00 2001 From: tastytea Date: Sat, 13 Aug 2022 23:08:25 +0200 Subject: [PATCH] nvim: use tagged releases for plugins that have them --- .config/nvim/lua/my/coding.lua | 3 ++- .config/nvim/lua/my/filetypes.lua | 1 + .config/nvim/lua/my/lsp.lua | 1 + .config/nvim/lua/my/net.lua | 1 + 4 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.config/nvim/lua/my/coding.lua b/.config/nvim/lua/my/coding.lua index 92620a5..07b2f4a 100644 --- a/.config/nvim/lua/my/coding.lua +++ b/.config/nvim/lua/my/coding.lua @@ -4,6 +4,7 @@ require('my/tools') packer.use { -- toggle comments 'https://github.com/tomtom/tcomment_vim', + tag = '*', config = function() vim.g.tcomment_opleader1 = 'c' vim.g.tcomment_mapleader1 = '' @@ -43,7 +44,7 @@ packer.use { 'https://github.com/gentoo/gentoo-syntax' } -packer.use { +packer.use { -- NOTE: looks abandoned 'https://github.com/jiangmiao/auto-pairs', config = function() vim.g.AutoPairsFlyMode = 0 diff --git a/.config/nvim/lua/my/filetypes.lua b/.config/nvim/lua/my/filetypes.lua index f5f1f3e..4659423 100644 --- a/.config/nvim/lua/my/filetypes.lua +++ b/.config/nvim/lua/my/filetypes.lua @@ -21,6 +21,7 @@ packer.use { packer.use { 'https://github.com/nvim-orgmode/orgmode', + tag = '*', requires = 'https://github.com/nvim-treesitter/nvim-treesitter', config = function() require('orgmode').setup{} diff --git a/.config/nvim/lua/my/lsp.lua b/.config/nvim/lua/my/lsp.lua index 859b7a4..cf90c5e 100644 --- a/.config/nvim/lua/my/lsp.lua +++ b/.config/nvim/lua/my/lsp.lua @@ -4,6 +4,7 @@ require('my/completion') packer.use { 'https://github.com/neovim/nvim-lspconfig', + tag = '*', requires = 'https://github.com/hrsh7th/cmp-nvim-lsp', config = function() map('n', '', vim.diagnostic.goto_prev) diff --git a/.config/nvim/lua/my/net.lua b/.config/nvim/lua/my/net.lua index e852266..d1918a9 100644 --- a/.config/nvim/lua/my/net.lua +++ b/.config/nvim/lua/my/net.lua @@ -3,6 +3,7 @@ require('my/plugins') -- embed nvim in browsers packer.use { 'https://github.com/glacambre/firenvim', + tag = '*', run = function() vim.fn['firenvim#install'](0) end,