From e5a10ed4370d78549a44d2779a3865a9ac43c846 Mon Sep 17 00:00:00 2001 From: Nulo Date: Sat, 9 Jul 2022 18:35:44 -0300 Subject: [PATCH] kak: Reactivar LSP --- .config/kak/kakrc | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/.config/kak/kakrc b/.config/kak/kakrc index 9653933..3b53c41 100644 --- a/.config/kak/kakrc +++ b/.config/kak/kakrc @@ -17,22 +17,22 @@ source ~/.cache/themer.lua/kakoune # Language Server Protocol # ------------ -# 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_show_code_actions true -# set global lsp_auto_highlight_references true -# hook global WinSetOption filetype=(zig|go) %{ -# 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" -# lsp-enable-window -# lsp-auto-signature-help-enable -# } -# hook global KakEnd .* lsp-exit +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_show_code_actions true +set global lsp_auto_highlight_references true +hook global WinSetOption filetype=(zig|go) %{ + 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" + lsp-enable-window + lsp-auto-signature-help-enable +} +hook global KakEnd .* lsp-exit # ------------ # Formateadores