2023-08-29 23:41:29 +00:00
|
|
|
return {
|
|
|
|
"neovim/nvim-lspconfig",
|
|
|
|
dependencies = {
|
|
|
|
"nvim-telescope/telescope.nvim"
|
|
|
|
},
|
|
|
|
config = function()
|
|
|
|
local lspconfig = require("lspconfig")
|
|
|
|
|
2023-09-01 01:50:28 +00:00
|
|
|
lspconfig.clangd.setup {}
|
2023-08-29 23:41:29 +00:00
|
|
|
|
|
|
|
vim.api.nvim_create_autocmd("LspAttach", {
|
|
|
|
group = vim.api.nvim_create_augroup("UserLspConfig", {}),
|
|
|
|
callback = require("keymaps").lsp
|
|
|
|
})
|
|
|
|
end
|
|
|
|
}
|