summaryrefslogtreecommitdiffstats
path: root/lua/conf/plugins/todo-comments.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/conf/plugins/todo-comments.lua')
-rw-r--r--lua/conf/plugins/todo-comments.lua7
1 files changed, 1 insertions, 6 deletions
diff --git a/lua/conf/plugins/todo-comments.lua b/lua/conf/plugins/todo-comments.lua
index 55ebd32..ebf724d 100644
--- a/lua/conf/plugins/todo-comments.lua
+++ b/lua/conf/plugins/todo-comments.lua
@@ -1,11 +1,6 @@
-local branch = nil
-if vim.version().minor < 8 then
- branch = 'neovim-pre-0.8.0'
-end
-
return { 'folke/todo-comments.nvim',
requires = 'nvim-lua/plenary.nvim',
- branch = branch,
+ disable = not vim.fn.has("nvim-0.8.0"),
function()
require('todo-comments').setup {
keywords = {