update
This commit is contained in:
		
							parent
							
								
									bcf1be937b
								
							
						
					
					
						commit
						aa5a957093
					
				
					 1 changed files with 4 additions and 0 deletions
				
			
		
							
								
								
									
										4
									
								
								init.lua
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								init.lua
									
									
									
									
									
								
							|  | @ -352,6 +352,7 @@ local function on_attach(client, buffer) | ||||||
| 			callback = function() | 			callback = function() | ||||||
| 				vim.lsp.buf.format({ | 				vim.lsp.buf.format({ | ||||||
| 					async = false, | 					async = false, | ||||||
|  | 					timeout_ms = 5000, | ||||||
| 					filter = function(cl) | 					filter = function(cl) | ||||||
| 						return cl.name ~= "tsserver" | 						return cl.name ~= "tsserver" | ||||||
| 					end, | 					end, | ||||||
|  | @ -689,6 +690,9 @@ require("lspconfig").lua_ls.setup({ | ||||||
| }) | }) | ||||||
| require("lspconfig").solargraph.setup({ | require("lspconfig").solargraph.setup({ | ||||||
| 	cmd = { "bundle", "exec", "solargraph", "stdio" }, | 	cmd = { "bundle", "exec", "solargraph", "stdio" }, | ||||||
|  | 	{ | ||||||
|  | 		formatting = false, | ||||||
|  | 	}, | ||||||
| 	on_attach = on_attach, | 	on_attach = on_attach, | ||||||
| }) | }) | ||||||
| local null_ls = require("null-ls") | local null_ls = require("null-ls") | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue