nvim: use tagged releases for plugins that have them

This commit is contained in:
tastytea 2022-08-13 23:08:25 +02:00
parent 16623c3ac2
commit f56d250688
Signed by: tastytea
SSH Key Fingerprint: SHA256:FBkvrOlhq5use1XEttyUGT4bUTDVA1ar9SgIc9P03cM
4 changed files with 5 additions and 1 deletions

View File

@ -4,6 +4,7 @@ require('my/tools')
packer.use { -- toggle comments
'https://github.com/tomtom/tcomment_vim',
tag = '*',
config = function()
vim.g.tcomment_opleader1 = '<Leader>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

View File

@ -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{}

View File

@ -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', '<f5>', vim.diagnostic.goto_prev)

View File

@ -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,