Use our fork of kak-lsp with showMessageRequest

This commit is contained in:
Natsu Kagami 2023-04-11 13:23:47 +02:00
parent bd54c41c33
commit 530802c0ee
Signed by: nki
GPG key ID: 7306B3D3C3AD6E51
3 changed files with 8 additions and 6 deletions

View file

@ -231,15 +231,16 @@
"kak-lsp": { "kak-lsp": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1677690116, "lastModified": 1681127404,
"narHash": "sha256-Vd8axfIszzvWV/w4dBiZyYApmEcrTUYCFwESRONt53s=", "narHash": "sha256-6OqjR0hRBYj34DvXNKQ3Th4E6jveuGQHVpqRaXUZr+8=",
"owner": "kak-lsp", "owner": "natsukagami",
"repo": "kak-lsp", "repo": "kak-lsp",
"rev": "72a88169514e09b4fd4ec2d7e9e4e7ffae07430b", "rev": "8d7f46c5ba9dea215bb12340ee0f6579355b01ba",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "kak-lsp", "owner": "natsukagami",
"ref": "show-message-request",
"repo": "kak-lsp", "repo": "kak-lsp",
"type": "github" "type": "github"
} }

View file

@ -38,7 +38,7 @@
# --- Sources # --- Sources
kakoune.url = github:mawww/kakoune; kakoune.url = github:mawww/kakoune;
kakoune.flake = false; kakoune.flake = false;
kak-lsp.url = github:kak-lsp/kak-lsp; kak-lsp.url = github:natsukagami/kak-lsp/show-message-request;
kak-lsp.flake = false; kak-lsp.flake = false;
nixos-m1.url = github:tpwrules/nixos-apple-silicon; nixos-m1.url = github:tpwrules/nixos-apple-silicon;
nixos-m1.inputs.nixpkgs.follows = "nixpkgs"; nixos-m1.inputs.nixpkgs.follows = "nixpkgs";

View file

@ -113,6 +113,7 @@ try %{
} }
hook global WinSetOption filetype=(racket|rust|python|go|javascript|typescript|c|cpp|tex|latex|fsharp|ocaml|haskell|nix|scala) %{ hook global WinSetOption filetype=(racket|rust|python|go|javascript|typescript|c|cpp|tex|latex|fsharp|ocaml|haskell|nix|scala) %{
lsp-enable-window lsp-enable-window
map window lsp N -docstring "Display the next message request" ": lsp-show-message-request-next<ret>"
map window normal <c-l> ": enter-user-mode lsp<ret>" map window normal <c-l> ": enter-user-mode lsp<ret>"
map window normal <c-h> ": lsp-hover<ret>" map window normal <c-h> ": lsp-hover<ret>"
map window normal <c-s-h> ": lsp-hover-buffer<ret>" map window normal <c-s-h> ": lsp-hover-buffer<ret>"