colorscheme everforest-dark-soft

set-option global ui_options terminal_set_title=no

set-option global tabstop 4
set-option global indentwidth 4

add-highlighter global/ show-matching

#declare-option str windowing_placement horizontal
# With the way that Kakoune's windowing detection is currently set up, the wezterm module will never be loaded.
# So, we need to fix the order in which windowing modules are declared.
# TODO: submit a PR to Kakoune fixing this.
declare-option str-list windowing_modules 'tmux' 'screen' 'zellij' 'kitty' 'wezterm' 'iterm' 'appleterminal' 'sway' 'wayland' 'x11'

set-option global windowing_placement horizontal

hook global WinCreate .* %{
    add-highlighter window/number-lines number-lines -hlcursor
}
