Call on_attach from lsp_config in rust
This commit is contained in:
parent
e829e4b1be
commit
f76909ecf4
@ -8,6 +8,7 @@ return {
|
||||
local options = { noremap = true, silent = false, buffer = bufnr }
|
||||
vim.keymap.set('n', '<space>y', function() vim.cmd.RustLsp { 'hover', 'actions' } end,
|
||||
vim.tbl_extend('error', options, { desc = 'Hover' }))
|
||||
require('plugins.lspconfig').on_attach(client, bufnr)
|
||||
end
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user