kak: LSP Solo usar referencias en no-svelte
This commit is contained in:
parent
b59aba9fd4
commit
f2a5ca75a2
1 changed files with 9 additions and 1 deletions
|
@ -23,8 +23,16 @@ 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
|
|
||||||
hook global WinSetOption filetype=(zig|go|typescript|javascript) %{
|
hook global WinSetOption filetype=(zig|go|typescript|javascript) %{
|
||||||
|
set window lsp_auto_highlight_references true
|
||||||
|
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"
|
||||||
|
lsp-enable-window
|
||||||
|
lsp-auto-signature-help-enable
|
||||||
|
}
|
||||||
|
hook global WinSetOption filetype=(svelte) %{
|
||||||
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"
|
||||||
|
|
Loading…
Reference in a new issue