mirror of
				https://github.com/NotAShelf/nvf.git
				synced 2025-10-31 11:02:37 +00:00 
			
		
		
		
	feat: add prettierd as an alternative to prettier
This commit is contained in:
		
					parent
					
						
							
								b5d5700fcc
							
						
					
				
			
			
				commit
				
					
						8cda01b885
					
				
			
		
					 2 changed files with 13 additions and 0 deletions
				
			
		|  | @ -62,5 +62,7 @@ https://github.com/notashelf[notashelf]: | ||||||
| 
 | 
 | ||||||
| * Added a module for enabling Neovim's spellchecker | * Added a module for enabling Neovim's spellchecker | ||||||
| 
 | 
 | ||||||
|  | * Replaced prettier with prettierd - the daemonized version of prettier | ||||||
|  | 
 | ||||||
| * Cleaned up documentation | * Cleaned up documentation | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -36,6 +36,17 @@ with builtins; let | ||||||
|         ) |         ) | ||||||
|       ''; |       ''; | ||||||
|     }; |     }; | ||||||
|  |     prettierd = { | ||||||
|  |       package = pkgs.prettierd; | ||||||
|  |       nullConfig = '' | ||||||
|  |         table.insert( | ||||||
|  |           ls_sources, | ||||||
|  |           null_ls.builtins.formatting.prettier.with({ | ||||||
|  |             command = "${cfg.format.package}/bin/prettierd", | ||||||
|  |           }) | ||||||
|  |         ) | ||||||
|  |       ''; | ||||||
|  |     }; | ||||||
|   }; |   }; | ||||||
| 
 | 
 | ||||||
|   # TODO: specify packages |   # TODO: specify packages | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue