feat: configure blink.cmp
This commit is contained in:
parent
01a7ce066a
commit
5119403850
6 changed files with 57 additions and 4 deletions
18
rust.lua
18
rust.lua
|
|
@ -1,18 +0,0 @@
|
|||
local bufnr = vim.api.nvim_get_current_buf()
|
||||
vim.keymap.set(
|
||||
'n',
|
||||
'<leader>a',
|
||||
function()
|
||||
vim.cmd.RustLsp('codeAction')
|
||||
end,
|
||||
{ silent = true, buffer = bufnr }
|
||||
)
|
||||
|
||||
vim.keymap.set(
|
||||
'n',
|
||||
'K',
|
||||
function()
|
||||
vim.cmd.RustLsp({ 'hover', 'actions' })
|
||||
end,
|
||||
{ silent = true, buffer = bufnr }
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue