Kakoune: make number-lines highlighter belong to window scope as peneira expects

This commit is contained in:
Natsu Kagami 2024-05-24 16:33:21 +02:00
parent 08a7b1edb7
commit ef5af56cb6
Signed by: nki
GPG key ID: 55A032EB38B49ADB

View file

@ -19,7 +19,9 @@ set-face global WhitespaceIndent +d@comment
set global ui_options terminal_assistant=cat set global ui_options terminal_assistant=cat
# Enable line numbers # Enable line numbers
addhl global/ number-lines hook global WinCreate .* %{
addhl window/number-lines number-lines
}
set global grepcmd "rg --line-number --no-column --no-heading --color=never " set global grepcmd "rg --line-number --no-column --no-heading --color=never "