Skip to content

bug: template value replacement doesn't fully apply to wrapped line #20

@holysoles

Description

@holysoles

Did you check docs and existing issues?

  • I have read all the plugin docs
  • I have searched the existing issues
  • I have searched the existing issues of plugins related to this issue

Neovim version (nvim -v)

v0.12.0-dev

Operating system/version

Ubuntu 25.04

Describe the bug

Thanks for the work on this great plugin!

I've found when conceal_templates is enabled, if the template value reference wraps across lines, when the replacement occurs, the text that was wrapped to the next line isn't masked/handled by the plugin:

Image Image

Steps To Reproduce

  1. configure the plugin with default values
  2. open a helm template file and manually pad a line that has a template so that the template value straddles the line wrap. Example:
Image
  1. navigate away from the line and observe the value isn't fully replaced:
Image

Expected Behavior

Ideally the plugin would follow the template string across the line wrap and continue the replacement

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions