Add / behind add-highlighter path

This commit is contained in:
Jan-Jaap Korpershoek 2018-07-26 10:59:42 +02:00
parent 7905382b74
commit 0a1c4ecf3d
2 changed files with 2 additions and 2 deletions

View File

@ -21,6 +21,6 @@ hook -group hg-commit-highlight global WinSetOption filetype=(?!hg-commit).* %{
# ‾‾‾‾‾‾‾‾‾‾‾‾
hook -group hg-commit-highlight global WinSetOption filetype=hg-commit %{
add-highlighter window group hg-commit-highlight
add-highlighter window/ group hg-commit-highlight
add-highlighter window/hg-commit-highlight regex '^HG:[^\n]*' 0:MercurialCommitComment
}

View File

@ -9,7 +9,7 @@ Formats of language supported:
- ISO language code, e.g. 'en'
- language code above followed by a dash or underscore with an ISO country code, e.g. 'en-US'} \
spell %{
try %{ add-highlighter window ranges 'spell_regions' }
try %{ add-highlighter window/ ranges 'spell_regions' }
evaluate-commands %sh{
file=$(mktemp -d "${TMPDIR:-/tmp}"/kak-spell.XXXXXXXX)/buffer
printf 'eval -no-hooks write -sync %s\n' "${file}"