kak: Limpiar

This commit is contained in:
Cat /dev/Nulo 2022-01-02 17:26:37 -03:00
parent 9a07c05482
commit b77c2e0269

View file

@ -7,24 +7,18 @@ set-option global ui_options terminal_assistant=off
colorscheme grayscale-superiority
#source "%val{config}/todo-txt.kak"
eval %sh{kak-lsp --kakoune -s $kak_session}
set global lsp_cmd "kak-lsp -s %val{session} -vvv --log /tmp/kak-lsp.log"
set global lsp_diagnostic_line_error_sign '║'
set global lsp_diagnostic_line_warning_sign '┊'
set global lsp_hover_anchor true
set global lsp_auto_highlight_references true
#set global lsp_hover_max_lines 3
hook global WinSetOption filetype=(zig) %{
map buffer user r ': lsp-rename-prompt<ret>' -docstring "LSP Rename"
map buffer user a ': lsp-code-actions<ret>' -docstring "LSP Code actions"
map buffer user , ': lsp-hover<ret>' -docstring "LSP hover"
map buffer user l ': enter-user-mode lsp<ret>' -docstring "LSP mode"
#set buffer idle_timeout 200
#lsp-inlay-diagnostics-enable buffer
lsp-enable-window
#lsp-auto-hover-enable
lsp-auto-signature-help-enable
}
hook global KakEnd .* lsp-exit
@ -34,12 +28,12 @@ hook global WinSetOption filetype=(javascript|typescript|json|css) %{
hook buffer BufWritePre .* format-buffer
}
source "%val{config}/plugins/zig.kak/rc/zig.kak"
hook global WinSetOption filetype=zig %{
set-option buffer formatcmd "zig fmt --stdin"
hook buffer BufWritePre .* format-buffer
}
source "%val{config}/plugins/zig.kak/rc/zig.kak"
#hook global WinSetOption filetype=zig %{ zig-auto-run buffer }
hook global KakBegin .* %{ set-option global termcmd "footclient sh -c" }