41 lines
983 B
Lua
41 lines
983 B
Lua
return {
|
|
{
|
|
"neovim/nvim-lspconfig",
|
|
lazy = false,
|
|
config = function()
|
|
vim.keymap.set("n", "K", vim.lsp.buf.hover, {})
|
|
vim.keymap.set("n", "<leader>gd", vim.lsp.buf.definition, {})
|
|
vim.keymap.set("n", "<leader>gr", vim.lsp.buf.references, {})
|
|
vim.keymap.set("n", "<leader>ca", vim.lsp.buf.code_action, {})
|
|
vim.keymap.set("n", '<leader>rn', vim.lsp.buf.rename, {})
|
|
end,
|
|
},
|
|
{
|
|
"williamboman/mason.nvim",
|
|
lazy = false,
|
|
config = function()
|
|
require("mason").setup({
|
|
registries = {
|
|
"github:mason-org/mason-registry",
|
|
"github:Crashdummyy/mason-registry",
|
|
},
|
|
})
|
|
end
|
|
},
|
|
{
|
|
"williamboman/mason-lspconfig.nvim",
|
|
lazy = false,
|
|
opts = {
|
|
auto_install = true,
|
|
},
|
|
},
|
|
{
|
|
"seblyng/roslyn.nvim",
|
|
---@module 'roslyn.config'
|
|
---@type RoslynNvimConfig
|
|
opts = {
|
|
-- your configuration comes here; leave empty for default settings
|
|
},
|
|
}
|
|
}
|