[nvim] Update format of rust-analyzer LSP config
I think the format of the config table for rust-analyzer changed. checkOnSave takes a bool, and a separate check table provides the parameters.
This commit is contained in:
		
							parent
							
								
									f7e802d3f3
								
							
						
					
					
						commit
						bb82a7ca75
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		|  | @ -115,7 +115,8 @@ lspconfig.rust_analyzer.setup { | |||
|                     enable = true, | ||||
|                 }, | ||||
|             }, | ||||
|             checkOnSave = { | ||||
|             checkOnSave = true, | ||||
|             check = { | ||||
|                 command = 'clippy', | ||||
|                 extraArgs = { | ||||
|                     "--", | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue