6LDYMWE5VMRW3CMKCGSDRVHJWMVQNNREVKEUNMGVTDPIWJNRZACQC
vim.keymap.set('n', '<Space>ca', vim.lsp.buf.code_action)
vim.keymap.set('n', '<leader>f', vim.lsp.buf.format)
vim.keymap.set('n', 'gD', vim.lsp.buf.definition)
-- Set up lspconfig.
local capabilities = require('cmp_nvim_lsp').default_capabilities()
local lsps = { "clangd", "lua_ls", "nixd", "pylyzer", "rust_analyzer", "verible", "veryl_ls" }
for _,lsp in pairs(lsps) do
require('lspconfig')[lsp].setup {
capabilities = capabilities
}
end