modules/lsp/keymaps: init

Initial LSP keymaps option, inspired by `keymapsOnEvent` and
`plugins.lsp.keymaps`.

Users can define `lspBufAction` instead of `action` if they wish to use
a `vim.lsp.buf.<action>` callback.
This commit is contained in:
Matt Sturgeon 2025-05-03 21:30:50 +01:00
parent 90eb4e681c
commit 552dec0e55
No known key found for this signature in database
GPG key ID: 4F91844CED1A8299
2 changed files with 127 additions and 0 deletions

View file

@ -137,6 +137,10 @@ in
};
};
imports = [
./keymaps.nix
];
config =
let
enabledServers = lib.pipe cfg.servers [