diff options
| author | Akshay Nair <phenax5@gmail.com> | 2025-10-21 12:46:13 +0530 |
|---|---|---|
| committer | Akshay Nair <phenax5@gmail.com> | 2025-10-21 13:39:46 +0530 |
| commit | 188c0207d7debf0ab5a20f6d27fae32f4a3d3f2e (patch) | |
| tree | 016307c0874d52e8330646fb14aa258ab29bb6b3 /autoload/lsp-config.kak | |
| parent | 87a96e7c86ef7a718246dfe6fc37b219c66dc557 (diff) | |
| download | kakoune-config-188c0207d7debf0ab5a20f6d27fae32f4a3d3f2e.tar.gz kakoune-config-188c0207d7debf0ab5a20f6d27fae32f4a3d3f2e.zip | |
Fix repl and change config for repl mode
Diffstat (limited to '')
| -rw-r--r-- | autoload/lsp-config.kak | 9 |
1 files changed, 4 insertions, 5 deletions
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<ret>' -docstring 'LSP mode' +lsp-inlay-diagnostics-enable global -map global object a '<a-semicolon>lsp-object<ret>' -docstring 'LSP any symbol' -map global object <a-a> '<a-semicolon>lsp-object<ret>' -docstring 'LSP any symbol' +map global user l ':enter-user-mode lsp<ret>' -docstring 'LSP mode' +# map global user t ':enter-user-mode tree-sitter<ret>' -docstring 'Treesitter mode' map global object f '<a-semicolon>lsp-object Function Method<ret>' -docstring 'LSP function or method' map global object t '<a-semicolon>lsp-object Class Interface Struct<ret>' -docstring 'LSP class interface or struct' map global object d '<a-semicolon>lsp-diagnostic-object --include-warnings<ret>' -docstring 'LSP errors and warnings' -map global object D '<a-semicolon>lsp-diagnostic-object<ret>' -docstring 'LSP errors' map global insert <c-n> '<a-;>:lsp-snippets-select-next-placeholders<ret>' -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 |
