Skip to content

Commit

Permalink
fix(nvim): Fix comment.nvim search pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
mrjones2014 committed Oct 10, 2023
1 parent 223ae30 commit d49e4b7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions nvim/lua/my/configure/comments.lua
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,12 @@ return {
-- TODO with a very long
-- multiline comment
highlight = {
-- change pattern to not require a colon after the keyword
pattern = [[.*<(KEYWORDS)\s*]],
keyword = 'bg',
comments_only = true,
},
search = { pattern = [[.*<(KEYWORDS)\s*]] },
},
},
{
Expand Down

0 comments on commit d49e4b7

Please sign in to comment.