diff --git a/.config/kak/kakrc b/.config/kak/kakrc index 1b550dd..12b0c93 100644 --- a/.config/kak/kakrc +++ b/.config/kak/kakrc @@ -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' -docstring "LSP Rename" map buffer user a ': lsp-code-actions' -docstring "LSP Code actions" map buffer user , ': lsp-hover' -docstring "LSP hover" map buffer user l ': enter-user-mode lsp' -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" }