diff --git a/README.md b/README.md index 4b34130..2a91ef5 100644 --- a/README.md +++ b/README.md @@ -57,7 +57,7 @@ Default value: `"abcdefghijklmnopqrstuvwxyz"` 2. **jumpExtraWordCharacters** Additional characters, aside from alphanumerics, to consider as part of contiguous words for generating labels. -Default value: `"_-"` +Default value: `%opt{extra_word_chars}` 3. **jumpLabelFace** Face to use for highlighting jump labels. diff --git a/jump.kak b/jump.kak index bb8ab6a..e7846e0 100644 --- a/jump.kak +++ b/jump.kak @@ -6,8 +6,9 @@ declare-option -docstring " declare-option -docstring " Additional characters, aside from alphanumerics, to consider as part of contiguous words for generating labels. + By default it's tied to `%opt{extra_word_chars}`. Modify it if you need greater flexibility. " str \ - jumpExtraWordCharacters "_-" + jumpExtraWordCharacters %sh{ printf %s $kak_opt_extra_word_chars } declare-option -docstring " Face to use for highlighting jump labels. Set to `default` to not apply any highlighting at all.