Merge pull request #16 from nbur4556/fix-c-sharp

Fix c sharp
This commit is contained in:
Nick Burt 2026-03-15 01:33:36 -05:00 committed by GitHub
commit e5b97b0d5d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 10 additions and 3 deletions

View File

@ -495,7 +495,12 @@ require('lazy').setup({
---@module 'mason.settings' ---@module 'mason.settings'
---@type MasonSettings ---@type MasonSettings
---@diagnostic disable-next-line: missing-fields ---@diagnostic disable-next-line: missing-fields
opts = {}, opts = {
registries = {
'github:mason-org/mason-registry',
'github:Crashdummyy/mason-registry',
},
},
}, },
-- Maps LSP server names between nvim-lspconfig and Mason package names. -- Maps LSP server names between nvim-lspconfig and Mason package names.
'mason-org/mason-lspconfig.nvim', 'mason-org/mason-lspconfig.nvim',
@ -614,6 +619,8 @@ require('lazy').setup({
-- But for many setups, the LSP (`ts_ls`) will work just fine -- But for many setups, the LSP (`ts_ls`) will work just fine
-- ts_ls = {}, -- ts_ls = {},
omnisharp = {},
stylua = {}, -- Used to format Lua code stylua = {}, -- Used to format Lua code
-- Special Lua Config, as recommended by neovim help docs -- Special Lua Config, as recommended by neovim help docs
@ -656,7 +663,7 @@ require('lazy').setup({
local ensure_installed = vim.tbl_keys(servers or {}) local ensure_installed = vim.tbl_keys(servers or {})
vim.list_extend(ensure_installed, { vim.list_extend(ensure_installed, {
-- You can add other tools here that you want Mason to install -- You can add other tools here that you want Mason to install
'omnisharp', -- C# Language Server 'omnisharp',
}) })
require('mason-tool-installer').setup { ensure_installed = ensure_installed } require('mason-tool-installer').setup { ensure_installed = ensure_installed }
@ -767,7 +774,7 @@ require('lazy').setup({
-- <c-k>: Toggle signature help -- <c-k>: Toggle signature help
-- --
-- See :h blink-cmp-config-keymap for defining your own keymap -- See :h blink-cmp-config-keymap for defining your own keymap
preset = 'default', preset = 'super-tab',
-- For more advanced Luasnip keymaps (e.g. selecting choice nodes, expansion) see: -- For more advanced Luasnip keymaps (e.g. selecting choice nodes, expansion) see:
-- https://github.com/L3MON4D3/LuaSnip?tab=readme-ov-file#keymaps -- https://github.com/L3MON4D3/LuaSnip?tab=readme-ov-file#keymaps