Skip to content

Commit

Permalink
Add workaround for numToStr/Comment.nvim#497
Browse files Browse the repository at this point in the history
  • Loading branch information
mawkler committed Nov 29, 2024
1 parent 08af9f2 commit 7a8c62a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lua/configs/comment.lua
Original file line number Diff line number Diff line change
Expand Up @@ -64,5 +64,8 @@ return {
map('n', '<leader>cp', 'yycmp', {
remap = true, desc = 'Comment and duplicate line'
})

-- Temporary workaround for https://github.com/numToStr/Comment.nvim/issues/497
require('Comment.ft').heex = '<%!-- %s --%>'
end,
}

0 comments on commit 7a8c62a

Please sign in to comment.