new selfmade kakoune colourscheme
This commit is contained in:
parent
310bd307ad
commit
a8733af33a
2 changed files with 80 additions and 1 deletions
49
dot.config/kak/colors/warm-pastel.kak
Normal file
49
dot.config/kak/colors/warm-pastel.kak
Normal file
|
@ -0,0 +1,49 @@
|
||||||
|
# code
|
||||||
|
face global value rgb:fa9672,default
|
||||||
|
face global type rgb:bfbfab,default
|
||||||
|
face global identifier rgb:fa9672,default
|
||||||
|
face global variable rgb:fa9672,default
|
||||||
|
face global module rgb:fa9672,default
|
||||||
|
face global function rgb:fa9672,default
|
||||||
|
face global string rgb:fa8072,default
|
||||||
|
face global error default,rgb:ffffff
|
||||||
|
face global keyword rgb:bfabab,default+b
|
||||||
|
face global operator rgb:dedede,default
|
||||||
|
face global attribute rgb:ccb4a3,default
|
||||||
|
face global comment rgb:787878,default+i
|
||||||
|
face global meta rgb:fa9672,default
|
||||||
|
|
||||||
|
# text
|
||||||
|
face global title rgb:ccb4a3,default+b
|
||||||
|
face global header rgb:ccb4a3,default
|
||||||
|
face global bold rgb:ccb4a3,default+b
|
||||||
|
face global italic rgb:ccb4a3,default+i
|
||||||
|
face global mono rgb:cccccc,rgb:212121
|
||||||
|
face global block rgb:cccccc,rgb:212121
|
||||||
|
face global link rgb:acacbf,default
|
||||||
|
face global bullet rgb:ccb4a3,default
|
||||||
|
face global list rgb:dedede,default
|
||||||
|
|
||||||
|
# kakoune UI
|
||||||
|
face global Default rgb:ccb4a3,rgb:272020
|
||||||
|
face global PrimarySelection rgb:322a2a,rgb:ccbaad
|
||||||
|
face global SecondarySelection rgb:121212,rgb:ababab
|
||||||
|
face global PrimaryCursor rgb:000000,rgb:ffffff+b
|
||||||
|
face global SecondaryCursor rgb:121212,rgb:dedede+b
|
||||||
|
face global MatchingChar rgb:ffff00,default+b
|
||||||
|
face global Search default,rgb:333333
|
||||||
|
face global Whitespace default,rgb:333333
|
||||||
|
face global BufferPadding rgb:333333,default
|
||||||
|
face global LineNumbers rgb:383333,default
|
||||||
|
face global LineNumberCursor rgb:666666,default
|
||||||
|
face global MenuForeground rgb:bfbfbf,rgb:594a4a+b
|
||||||
|
face global MenuBackground default,rgb:403a3a
|
||||||
|
face global MenuInfo rgb:bfbfbf,rgb:594a4a
|
||||||
|
face global Information default,rgb:4d4242
|
||||||
|
face global Error rgb:121212,rgb:dedede
|
||||||
|
face global StatusLine rgb:cccccc,rgb:20252d
|
||||||
|
face global StatusLineMode rgb:bfbfbf,rgb:594a4a
|
||||||
|
face global StatusLineInfo rgb:ffddcc,rgb:20252d
|
||||||
|
face global StatusLineValue rgb:fffacc,rgb:20252d
|
||||||
|
face global StatusCursor default,rgb:787878
|
||||||
|
face global Prompt rgb:ababbf,rgb:474747
|
|
@ -1,4 +1,4 @@
|
||||||
colorscheme desertex
|
colorscheme warm-pastel
|
||||||
set-option global scrolloff 5,5
|
set-option global scrolloff 5,5
|
||||||
set-option global incsearch true
|
set-option global incsearch true
|
||||||
set-option global aligntab true
|
set-option global aligntab true
|
||||||
|
@ -23,11 +23,41 @@ plug "lenormf/kakoune-extra" load %{
|
||||||
# lsp support (https://github.com/ul/kak-lsp) #
|
# lsp support (https://github.com/ul/kak-lsp) #
|
||||||
# ...but it's not working yet #
|
# ...but it's not working yet #
|
||||||
###############################################
|
###############################################
|
||||||
|
|
||||||
plug "ul/kak-lsp" do %{
|
plug "ul/kak-lsp" do %{
|
||||||
cargo build --release --locked
|
cargo build --release --locked
|
||||||
cargo install --force --path .
|
cargo install --force --path .
|
||||||
|
} config %{
|
||||||
|
# eval %sh{kak-lsp --kakoune -s $kak_session}
|
||||||
|
set-option global lsp_completion_trigger "execute-keys 'h<a-h><a-k>\S[^\h\n,=;*(){}\[\]]\z<ret>'"
|
||||||
|
set-option global lsp_diagnostic_line_error_sign '║'
|
||||||
|
set-option global lsp_diagnostic_line_warning_sign '┊'
|
||||||
|
|
||||||
|
define-command ne -docstring 'go to next error/warning from lsp' %{ lsp-find-error --include-warnings }
|
||||||
|
define-command pe -docstring 'go to previous error/warning from lsp' %{ lsp-find-error --previous --include-warnings }
|
||||||
|
define-command ee -docstring 'go to current error/warning from lsp' %{ lsp-find-error --include-warnings; lsp-find-error --previous --include-warnings }
|
||||||
|
|
||||||
|
hook global WinSetOption filetype=(c|cpp|rust|go|javascript|typescript) %{
|
||||||
|
map window user "l" ": enter-user-mode lsp<ret>" -docstring "LSP mode"
|
||||||
|
set-option window lsp_auto_highlight_references true
|
||||||
|
set-option window lsp_hover_anchor true
|
||||||
|
set-face window DiagnosticError default+u
|
||||||
|
set-face window DiagnosticWarning default+u
|
||||||
|
lsp-enable-window
|
||||||
|
lsp-auto-hover-enable
|
||||||
|
lsp-auto-hover-insert-mode-disable
|
||||||
|
}
|
||||||
|
hook global WinSetOption filetype=rust %{
|
||||||
|
set-option window lsp_server_configuration rust.clippy_preference="on"
|
||||||
|
}
|
||||||
|
hook global KakEnd .* lsp-exit
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#eval %sh{kak-lsp --kakoune -s $kak_session}
|
||||||
|
#hook global WinSetOption filetype=(rust|python|go|javascript|typescript|c|cpp) %{
|
||||||
|
# lsp-enable-window
|
||||||
|
#}
|
||||||
|
|
||||||
plug "TeddyDD/kakoune-wiki" config %{
|
plug "TeddyDD/kakoune-wiki" config %{
|
||||||
wiki_setup "/home/nk/Wiki"
|
wiki_setup "/home/nk/Wiki"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue