nvim: use old todo-comments.nvim for <0.8.0

This commit is contained in:
tastytea 2022-10-29 05:56:07 +02:00
parent b04595ac91
commit c0052e9c9f
Signed by: tastytea
SSH Key Fingerprint: SHA256:FBkvrOlhq5use1XEttyUGT4bUTDVA1ar9SgIc9P03cM

View File

@ -34,10 +34,18 @@ require('packer').startup({ function(use)
'https://github.com/JoosepAlviste/nvim-ts-context-commentstring',
requires = 'https://github.com/nvim-treesitter/nvim-treesitter'
}
use {
'https://github.com/folke/todo-comments.nvim',
requires = { 'https://github.com/nvim-lua/plenary.nvim' }
}
if vim.version().api_level >= 10 then -- >=0.8.0
use {
'https://github.com/folke/todo-comments.nvim',
requires = { 'https://github.com/nvim-lua/plenary.nvim' }
}
else
use {
'https://github.com/folke/todo-comments.nvim',
requires = { 'https://github.com/nvim-lua/plenary.nvim' },
branch = 'neovim-pre-0.8.0'
}
end
use { 'https://github.com/powerman/vim-plugin-AnsiEsc' }
use {
'https://github.com/lervag/vimtex',