mirror of
				https://github.com/NotAShelf/nvf.git
				synced 2025-11-04 12:42:21 +00:00 
			
		
		
		
	utility/qmk-nvim: improve assertion readability
This commit is contained in:
		
					parent
					
						
							
								b9047100e5
							
						
					
				
			
			
				commit
				
					
						f7e964249f
					
				
			
		
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -20,7 +20,7 @@ in {
 | 
			
		|||
 | 
			
		||||
    assertions = [
 | 
			
		||||
      {
 | 
			
		||||
        assertion = cfg.setupOpts.variant != "zmk" && cfg.setupOpts.comment_preview.position != "inside";
 | 
			
		||||
        assertion = cfg.setupOpts.variant == "qmk" && cfg.setupOpts.comment_preview.position != "inside";
 | 
			
		||||
        message = "comment_preview.position can only be set to inside when using the qmk layoyt";
 | 
			
		||||
      }
 | 
			
		||||
      {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue