nvim: use old todo-comments.nvim for <0.8.0
This commit is contained in:
parent
b04595ac91
commit
c0052e9c9f
@ -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',
|
||||
|
Loading…
x
Reference in New Issue
Block a user