This repository has been archived on 2024-03-04. You can view files and clone it, but cannot push or open issues or pull requests.
linux/.config/nvim/lua/key/Autocomplete.lua

5 lines
196 B
Lua

require('key/Rekey')
rekey_input('<C-Space>', '<C-n>') -- autocomplete.
rekey_normal('<C-Space>', '<cmd>lua vim.lsp.buf.code_action()<cr>') -- LSP autocomplete.