From 2333c7d56be15e697c8f8ca40622021776a1dd42 Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Sun, 12 Oct 2025 21:38:24 +0530 Subject: Kakoune setup init --- autoload/lsp-config.kak | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 autoload/lsp-config.kak (limited to 'autoload/lsp-config.kak') 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' -docstring 'LSP mode' + +map global insert ':try lsp-snippets-select-next-placeholders catch %{ execute-keys -with-hooks tab> }' -docstring 'Select next snippet placeholder' + +map global object a 'lsp-object' -docstring 'LSP any symbol' +map global object 'lsp-object' -docstring 'LSP any symbol' +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' -- cgit v1.3.1