kakoune: be more leanient on error checking during config reload
This commit is contained in:
		
							parent
							
								
									5a0c40df62
								
							
						
					
					
						commit
						0ff17cd6df
					
				
					 1 changed files with 3 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -142,8 +142,9 @@ in {
 | 
			
		|||
    ];
 | 
			
		||||
    home.activation = {
 | 
			
		||||
      update_kakoune = lib.hm.dag.entryAfter [ "writeBoundary" ] ''
 | 
			
		||||
        $DRY_RUN_CMD kak -clear
 | 
			
		||||
        $DRY_RUN_CMD kak -l | xargs -r -n1 kak -e "config-source;quit" -ui dummy -c
 | 
			
		||||
        $DRY_RUN_CMD kak -clear &&
 | 
			
		||||
        $DRY_RUN_CMD kak -l | xargs -r -n1 kak -e "config-source;quit" -ui dummy -c ||
 | 
			
		||||
        $DRY_RUN_CMD true
 | 
			
		||||
      '';
 | 
			
		||||
    };
 | 
			
		||||
    home.sessionVariables = lib.mkIf (editor == "kakoune") {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue