mirror of
				https://github.com/NotAShelf/nvf.git
				synced 2025-10-31 02:52:37 +00:00 
			
		
		
		
	feat: add ruff to formatters
This commit is contained in:
		
					parent
					
						
							
								9142a5b9dd
							
						
					
				
			
			
				commit
				
					
						dcb9b16f81
					
				
			
		
					 1 changed files with 12 additions and 0 deletions
				
			
		|  | @ -106,6 +106,18 @@ | ||||||
|         ) |         ) | ||||||
|       ''; |       ''; | ||||||
|     }; |     }; | ||||||
|  | 
 | ||||||
|  |     ruff = { | ||||||
|  |       package = pkgs.ruff; | ||||||
|  |       nullConfig = '' | ||||||
|  |         table.insert( | ||||||
|  |           ls_sources, | ||||||
|  |           null_ls.builtins.formatting.ruff.with({ | ||||||
|  |             command = "${cfg.format.package}/bin/ruff", | ||||||
|  |           }) | ||||||
|  |         ) | ||||||
|  |       ''; | ||||||
|  |     }; | ||||||
|   }; |   }; | ||||||
| 
 | 
 | ||||||
|   defaultDebugger = "debugpy"; |   defaultDebugger = "debugpy"; | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Thales Menato
				Thales Menato