mirror of
				https://github.com/NotAShelf/nvf.git
				synced 2025-10-26 09:20:08 +00:00 
			
		
		
		
	docs: wording
This commit is contained in:
		
					parent
					
						
							
								df310b3e25
							
						
					
				
			
			
				commit
				
					
						16340dc8b7
					
				
			
		
					 1 changed files with 10 additions and 11 deletions
				
			
		
							
								
								
									
										9
									
								
								.github/CONTRIBUTING.md
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										9
									
								
								.github/CONTRIBUTING.md
									
										
									
									
										vendored
									
									
								
							|  | @ -32,11 +32,10 @@ Here are the overall boundaries I would like you to follow while contributing to | |||
| 
 | ||||
| If you are making a pull request to add a | ||||
| 
 | ||||
| 
 | ||||
| #### Style | ||||
| 
 | ||||
| **Nix** | ||||
| We use Alejandra for formatting nix code, which can be invoked directly with `nix fmt` in the repository.  | ||||
| We use Alejandra for formatting nix code, which can be invoked directly by running `nix fmt` in the repository. | ||||
| 
 | ||||
| While Alejandra is mostly opinionated on how code looks after formatting, certain formattings are done at the user's discretion. | ||||
| 
 | ||||
|  | @ -71,6 +70,7 @@ module = { | |||
| ``` | ||||
| 
 | ||||
| For lists, it's up mostly to your discretion but please try to avoid unfolded lists if there is only one item in the list. | ||||
| 
 | ||||
| ```nix | ||||
| 
 | ||||
| # ok | ||||
|  | @ -85,7 +85,8 @@ acceptableList = [ | |||
| listToBeAvoided = [item1 item2 item3 item4]; | ||||
| ``` | ||||
| 
 | ||||
| *This will be moved elsewhere, disregard unless you are adding a new plugin with keybinds* | ||||
| _This will be moved elsewhere, disregard unless you are adding a new plugin with keybinds_ | ||||
| 
 | ||||
| #### Keybinds | ||||
| 
 | ||||
| ##### Custom key mappings support for a plugin | ||||
|  | @ -237,5 +238,3 @@ in { | |||
| ``` | ||||
| 
 | ||||
| If you have come across a plugin that has an API that doesn't seem to easily allow custom keybindings, don't be scared to implement a draft PR. We'll help you get it done. | ||||
| 
 | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue