Skip to content

Commit

Permalink
Use %opt{extra_word_chars} as the default for `jumpExtraWordCharact…
Browse files Browse the repository at this point in the history
…ers`
  • Loading branch information
postsolar committed Dec 1, 2023
1 parent 414bf06 commit 6d93304
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
3 changes: 2 additions & 1 deletion jump.kak
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 6d93304

Please sign in to comment.