update
This commit is contained in:
		
							parent
							
								
									21dec419b0
								
							
						
					
					
						commit
						bdd33a7d9a
					
				
							
								
								
									
										5
									
								
								init.lua
								
								
								
								
							
							
						
						
									
										5
									
								
								init.lua
								
								
								
								
							| 
						 | 
					@ -840,6 +840,11 @@ require('lazy').setup({
 | 
				
			||||||
            -- This handles overriding only values explicitly passed
 | 
					            -- This handles overriding only values explicitly passed
 | 
				
			||||||
            -- by the server configuration above. Useful when disabling
 | 
					            -- by the server configuration above. Useful when disabling
 | 
				
			||||||
            -- certain features of an LSP (for example, turning off formatting for ts_ls)
 | 
					            -- certain features of an LSP (for example, turning off formatting for ts_ls)
 | 
				
			||||||
 | 
					            --
 | 
				
			||||||
 | 
					            -- Do not setup rust_analyzer, because the plugin `mrcjkb/rustaceanvim` plugin will take care of it
 | 
				
			||||||
 | 
					            -- if server_name == 'rust_analyzer' then
 | 
				
			||||||
 | 
					            --   return
 | 
				
			||||||
 | 
					            -- end
 | 
				
			||||||
            server.capabilities = vim.tbl_deep_extend('force', {}, capabilities, server.capabilities or {})
 | 
					            server.capabilities = vim.tbl_deep_extend('force', {}, capabilities, server.capabilities or {})
 | 
				
			||||||
            require('lspconfig')[server_name].setup(server)
 | 
					            require('lspconfig')[server_name].setup(server)
 | 
				
			||||||
          end,
 | 
					          end,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue