editors.visual-studio-code: Don't memoize the vscode path and add code.cmd per melted's suggestion:
450730b612
			
			
				travis-windows
			
			
		
							parent
							
								
									9572c87646
								
							
						
					
					
						commit
						319e1e6ac3
					
				| 
						 | 
				
			
			@ -13,7 +13,7 @@ visual-studio-code editor-class set-global
 | 
			
		|||
 | 
			
		||||
HOOK: find-visual-studio-code-invocation os ( -- array )
 | 
			
		||||
 | 
			
		||||
MEMO: visual-studio-code-invocation ( -- array )
 | 
			
		||||
: visual-studio-code-invocation ( -- array )
 | 
			
		||||
    {
 | 
			
		||||
        [ \ visual-studio-code-invocation get ]
 | 
			
		||||
        [ find-visual-studio-code-invocation ]
 | 
			
		||||
| 
						 | 
				
			
			@ -40,6 +40,7 @@ M: linux find-visual-studio-code-invocation
 | 
			
		|||
M: windows find-visual-studio-code-invocation
 | 
			
		||||
    {
 | 
			
		||||
        [ { "Microsoft VS Code" } "code.exe" find-in-applications ]
 | 
			
		||||
        [ "code.cmd" ]
 | 
			
		||||
    } 0|| ;
 | 
			
		||||
 | 
			
		||||
M: visual-studio-code editor-command ( file line -- command )
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue