Skip to content

Commit

Permalink
docs(readme): update configuration example
Browse files Browse the repository at this point in the history
Replace hardcoded prefix with `opts.prefix` usage in `custom_parser` section.
  • Loading branch information
andersevenrud authored Aug 26, 2023
1 parent 92959d5 commit d2d738b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ require('nvim_context_vt').setup({
end

-- This is the standard text
return '--> ' .. utils.get_node_text(node)[1]
return opts.prefix .. ' ' .. utils.get_node_text(node)[1]
end,

-- Custom node validator callback
Expand Down

0 comments on commit d2d738b

Please sign in to comment.