diff options
| author | Akshay Nair <phenax5@gmail.com> | 2025-10-12 21:38:24 +0530 |
|---|---|---|
| committer | Akshay Nair <phenax5@gmail.com> | 2025-10-21 13:39:44 +0530 |
| commit | 2333c7d56be15e697c8f8ca40622021776a1dd42 (patch) | |
| tree | 50aa7d471266adc013c4e90b19c7f23db06f3997 /autoload/lsp-config.kak | |
| parent | 467d4238db8725d9349619d7421898b46eb01ed9 (diff) | |
| download | kakoune-config-2333c7d56be15e697c8f8ca40622021776a1dd42.tar.gz kakoune-config-2333c7d56be15e697c8f8ca40622021776a1dd42.zip | |
Kakoune setup init
Diffstat (limited to '')
| -rw-r--r-- | autoload/lsp-config.kak | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/autoload/lsp-config.kak b/autoload/lsp-config.kak new file mode 100644 index 0000000..cea1f3d --- /dev/null +++ b/autoload/lsp-config.kak @@ -0,0 +1,14 @@ +eval %sh{kak-lsp} + +lsp-enable + +map global user l ':enter-user-mode lsp<ret>' -docstring 'LSP mode' + +map global insert <tab> '<a-;>:try lsp-snippets-select-next-placeholders catch %{ execute-keys -with-hooks <lt>tab> }<ret>' -docstring 'Select next snippet placeholder' + +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 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' |
