From 188c0207d7debf0ab5a20f6d27fae32f4a3d3f2e Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Tue, 21 Oct 2025 12:46:13 +0530 Subject: Fix repl and change config for repl mode --- autoload/lsp-config.kak | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'autoload/lsp-config.kak') diff --git a/autoload/lsp-config.kak b/autoload/lsp-config.kak index bb24686..22ed178 100644 --- a/autoload/lsp-config.kak +++ b/autoload/lsp-config.kak @@ -7,14 +7,13 @@ set-option global lsp_diagnostic_line_info_sign '■' set-option global lsp_diagnostic_line_hint_sign '■' lsp-enable -map global user l ':enter-user-mode lsp' -docstring 'LSP mode' +lsp-inlay-diagnostics-enable global -map global object a 'lsp-object' -docstring 'LSP any symbol' -map global object 'lsp-object' -docstring 'LSP any symbol' +map global user l ':enter-user-mode lsp' -docstring 'LSP mode' +# map global user t ':enter-user-mode tree-sitter' -docstring 'Treesitter mode' map global object f 'lsp-object Function Method' -docstring 'LSP function or method' map global object t 'lsp-object Class Interface Struct' -docstring 'LSP class interface or struct' map global object d 'lsp-diagnostic-object --include-warnings' -docstring 'LSP errors and warnings' -map global object D 'lsp-diagnostic-object' -docstring 'LSP errors' map global insert ':lsp-snippets-select-next-placeholders' -docstring 'Select next snippet placeholder' hook global InsertCompletionShow .* %{ @@ -48,7 +47,7 @@ hook global BufSetOption filetype=ruby %{ } } -hook global WinSetOption filetype=(?:javascript|typescript|ruby) %{ +hook global WinSetOption filetype=.* %{ hook window -group semantic-tokens BufReload .* lsp-semantic-tokens hook window -group semantic-tokens NormalIdle .* lsp-semantic-tokens hook window -group semantic-tokens InsertIdle .* lsp-semantic-tokens -- cgit v1.3.1