Skip to content

[Feature Request] Option to only consider full words #15

Description

@theCalcaholic

Right now, the plugin highlights all references, even if it matches only part of a word. This can be an issue and cause lots of false positives for short words, like I or me.

It would be great to have an option to only consider full words (i.e. delimited by whitespace or control characters) as matches.

Examples (given a page with the name or alias I):

Should match:

- TODO I have to visit the dentist
- Al and I had a great meeting today

(but also consider words delimited by control characters, e.g. low-frequency should be matched on the page frequency.)

Should not match:

- The trash should be taken out once in a while
- Recipe: Pasta with tomato sauce

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions