Trying to make C# work but no success.
Going to download LunarVim and see how it goes
This commit is contained in:
		
							parent
							
								
									679617253f
								
							
						
					
					
						commit
						ac26979167
					
				
							
								
								
									
										23
									
								
								init.lua
								
								
								
								
							
							
						
						
									
										23
									
								
								init.lua
								
								
								
								
							|  | @ -225,6 +225,17 @@ vim.opt.rtp:prepend(lazypath) | |||
| -- | ||||
| -- NOTE: Here is where you install your plugins. | ||||
| require('lazy').setup({ | ||||
| 
 | ||||
|   'hadronized/hop.nvim', | ||||
| 
 | ||||
|   'hrsh7th/nvim-cmp', | ||||
|   'razzmatazz/csharp-language-server', | ||||
|   'onsails/lspkind.nvim', | ||||
|   'hrsh7th/cmp-buffer', | ||||
|   'hrsh7th/cmp-path', | ||||
|   'hrsh7th/cmp-nvim-lua', | ||||
|   'hrsh7th/cmp-nvim-lsp', | ||||
|   'saadparwaiz1/cmp_luasnip', | ||||
|   -- NOTE: Plugins can be added with a link (or for a github repo: 'owner/repo' link). | ||||
|   'tpope/vim-sleuth', -- Detect tabstop and shiftwidth automatically | ||||
| 
 | ||||
|  | @ -556,7 +567,7 @@ require('lazy').setup({ | |||
|       local servers = { | ||||
|         -- clangd = {}, | ||||
|         -- gopls = {}, | ||||
|         -- pyright = {}, | ||||
|         pyright = {}, | ||||
|         -- rust_analyzer = {}, | ||||
|         -- ... etc. See `:help lspconfig-all` for a list of all the pre-configured LSPs | ||||
|         -- | ||||
|  | @ -565,6 +576,9 @@ require('lazy').setup({ | |||
|         -- | ||||
|         -- But for many setups, the LSP (`tsserver`) will work just fine | ||||
|         -- tsserver = {}, | ||||
|         -- omnisharp = {}, | ||||
|         csharp_ls = {}, | ||||
| 
 | ||||
|         -- | ||||
| 
 | ||||
|         lua_ls = { | ||||
|  | @ -600,6 +614,7 @@ require('lazy').setup({ | |||
|       require('mason-tool-installer').setup { ensure_installed = ensure_installed } | ||||
| 
 | ||||
|       require('mason-lspconfig').setup { | ||||
|         ensure_installed = { 'tsserver' }, | ||||
|         handlers = { | ||||
|           function(server_name) | ||||
|             local server = servers[server_name] or {} | ||||
|  | @ -748,9 +763,13 @@ require('lazy').setup({ | |||
|           --    https://github.com/L3MON4D3/LuaSnip?tab=readme-ov-file#keymaps | ||||
|         }, | ||||
|         sources = { | ||||
| 
 | ||||
|           { name = 'nvim_lua' }, | ||||
|           { name = 'nvim_lsp' }, | ||||
|           { name = 'luasnip' }, | ||||
|           { name = 'path' }, | ||||
|           { name = 'luasnip' }, | ||||
|           { name = 'buffer' }, | ||||
|           { name = 'csharp_ls' }, | ||||
|         }, | ||||
|       } | ||||
|     end, | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue