nix/home/config/nvim/module/key/Autocomplete.nix

10 lines
178 B
Nix
Raw Normal View History

2024-06-23 04:55:57 +03:00
{ ... }: {
2024-04-06 03:03:58 +03:00
text = ''
-- Autocomplete.
2024-06-23 04:55:57 +03:00
rekey_input("<C-space>", "<C-n>")
2024-04-06 03:03:58 +03:00
-- LSP autocomplete.
2024-06-23 04:55:57 +03:00
rekey_normal("<C-space>", "<cmd>lua vim.lsp.buf.code_action()<cr>")
2024-04-06 03:03:58 +03:00
'';
}