UPDATED init.lua to support auto-formatting upon saving for Rust.
This commit is contained in:
		
							parent
							
								
									5ae1f17bcd
								
							
						
					
					
						commit
						ee6c4368ae
					
				
							
								
								
									
										2
									
								
								init.lua
								
								
								
								
							
							
						
						
									
										2
									
								
								init.lua
								
								
								
								
							|  | @ -789,7 +789,7 @@ require('lazy').setup({ | ||||||
|         lua = { 'stylua' }, |         lua = { 'stylua' }, | ||||||
|         -- Conform can also run multiple formatters sequentially |         -- Conform can also run multiple formatters sequentially | ||||||
|         -- python = { "isort", "black" }, |         -- python = { "isort", "black" }, | ||||||
|         -- |         rust = { 'rustfmt' }, | ||||||
|         -- You can use 'stop_after_first' to run the first available formatter from the list |         -- You can use 'stop_after_first' to run the first available formatter from the list | ||||||
|         -- javascript = { "prettierd", "prettier", stop_after_first = true }, |         -- javascript = { "prettierd", "prettier", stop_after_first = true }, | ||||||
|       }, |       }, | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue