kakoune: highlight cursor line (turn on, and support in themes)
This commit is contained in:
@@ -83,7 +83,7 @@ evaluate-commands %sh{
|
|||||||
# Built-in highlighter faces
|
# Built-in highlighter faces
|
||||||
|
|
||||||
set-face global LineNumbers $gray
|
set-face global LineNumbers $gray
|
||||||
set-face global LineNumberCursor $gray
|
set-face global LineNumberCursor $green3
|
||||||
set-face global LineNumbersWrapped $bg,$bg
|
set-face global LineNumbersWrapped $bg,$bg
|
||||||
set-face global MatchingChar $red1
|
set-face global MatchingChar $red1
|
||||||
set-face global Whitespace $gray
|
set-face global Whitespace $gray
|
||||||
|
|||||||
@@ -83,7 +83,7 @@ evaluate-commands %sh{
|
|||||||
# Built-in highlighter faces
|
# Built-in highlighter faces
|
||||||
|
|
||||||
set-face global LineNumbers $gray
|
set-face global LineNumbers $gray
|
||||||
set-face global LineNumberCursor $gray
|
set-face global LineNumberCursor $green3
|
||||||
set-face global LineNumbersWrapped $bg,$bg
|
set-face global LineNumbersWrapped $bg,$bg
|
||||||
set-face global MatchingChar $red1
|
set-face global MatchingChar $red1
|
||||||
set-face global Whitespace $gray
|
set-face global Whitespace $gray
|
||||||
|
|||||||
@@ -79,7 +79,7 @@ evaluate-commands %sh{
|
|||||||
# Built-in highlighter faces
|
# Built-in highlighter faces
|
||||||
|
|
||||||
set-face global LineNumbers $blue3
|
set-face global LineNumbers $blue3
|
||||||
set-face global LineNumberCursor $blue3
|
set-face global LineNumberCursor $green3
|
||||||
set-face global LineNumbersWrapped $bg,$bg
|
set-face global LineNumbersWrapped $bg,$bg
|
||||||
set-face global MatchingChar $yellow1
|
set-face global MatchingChar $yellow1
|
||||||
set-face global Whitespace $gray
|
set-face global Whitespace $gray
|
||||||
|
|||||||
@@ -79,7 +79,7 @@ evaluate-commands %sh{
|
|||||||
# Built-in highlighter faces
|
# Built-in highlighter faces
|
||||||
|
|
||||||
set-face global LineNumbers $blue3
|
set-face global LineNumbers $blue3
|
||||||
set-face global LineNumberCursor $blue3
|
set-face global LineNumberCursor $green2
|
||||||
set-face global LineNumbersWrapped $bg,$bg
|
set-face global LineNumbersWrapped $bg,$bg
|
||||||
set-face global MatchingChar $yellow1
|
set-face global MatchingChar $yellow1
|
||||||
set-face global Whitespace $gray
|
set-face global Whitespace $gray
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ set-option global startup_info_version 20260412
|
|||||||
set-option global ui_options terminal_assistant=none
|
set-option global ui_options terminal_assistant=none
|
||||||
|
|
||||||
hook global WinCreate .* %{
|
hook global WinCreate .* %{
|
||||||
add-highlighter window/number-lines number-lines -relative
|
add-highlighter window/number-lines number-lines -relative -hlcursor
|
||||||
}
|
}
|
||||||
add-highlighter global/ show-matching
|
add-highlighter global/ show-matching
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user