Skip to content

Commit

Permalink
use builtin commenting for nvim >= 0.10
Browse files Browse the repository at this point in the history
  • Loading branch information
jmbuhr committed May 17, 2024
1 parent 7127015 commit ed36dcd
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions lua/plugins/editing.lua
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,13 @@ return {
opts = {},
},

-- commenting with e.g. `gcc` or `gcip`
-- respects TS, so it works in quarto documents
{
{ -- commenting with e.g. `gcc` or `gcip`
-- respects TS, so it works in quarto documents 'numToStr/Comment.nvim',
'numToStr/Comment.nvim',
version = nil,
cond = function()
return vim.fn.has 'nvim-0.10' == 0
end,
branch = 'master',
config = true,
},
Expand Down

0 comments on commit ed36dcd

Please sign in to comment.