kak: Desactivar kak-lsp
This commit is contained in:
parent
e2a02491fa
commit
793e1cebe3
1 changed files with 16 additions and 16 deletions
|
@ -24,22 +24,22 @@ eval %sh{
|
||||||
# Language Server Protocol
|
# Language Server Protocol
|
||||||
# ------------
|
# ------------
|
||||||
|
|
||||||
eval %sh{kak-lsp --kakoune -s $kak_session}
|
# 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_cmd "kak-lsp -s %val{session} -vvv --log /tmp/kak-lsp.log"
|
||||||
set global lsp_diagnostic_line_error_sign '║'
|
# set global lsp_diagnostic_line_error_sign '║'
|
||||||
set global lsp_diagnostic_line_warning_sign '┊'
|
# set global lsp_diagnostic_line_warning_sign '┊'
|
||||||
set global lsp_hover_anchor true
|
# set global lsp_hover_anchor true
|
||||||
set global lsp_auto_show_code_actions true
|
# set global lsp_auto_show_code_actions true
|
||||||
set global lsp_auto_highlight_references true
|
# set global lsp_auto_highlight_references true
|
||||||
hook global WinSetOption filetype=(zig|go) %{
|
# hook global WinSetOption filetype=(zig|go) %{
|
||||||
map buffer user r ': lsp-rename-prompt<ret>' -docstring "LSP Rename"
|
# 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 a ': lsp-code-actions<ret>' -docstring "LSP Code actions"
|
||||||
map buffer user , ': lsp-hover<ret>' -docstring "LSP hover"
|
# map buffer user , ': lsp-hover<ret>' -docstring "LSP hover"
|
||||||
map buffer user l ': enter-user-mode lsp<ret>' -docstring "LSP mode"
|
# map buffer user l ': enter-user-mode lsp<ret>' -docstring "LSP mode"
|
||||||
lsp-enable-window
|
# lsp-enable-window
|
||||||
lsp-auto-signature-help-enable
|
# lsp-auto-signature-help-enable
|
||||||
}
|
# }
|
||||||
hook global KakEnd .* lsp-exit
|
# hook global KakEnd .* lsp-exit
|
||||||
|
|
||||||
# ------------
|
# ------------
|
||||||
# Formateadores
|
# Formateadores
|
||||||
|
|
Loading…
Reference in a new issue