ui: E ignores file extension, should help positioning on windows
This commit is contained in:
		
							parent
							
								
									1cd2995c77
								
							
						
					
					
						commit
						9dad59b0cc
					
				@ -84,7 +84,7 @@ editFileAtPositionCommand :: Maybe TextPosition -> FilePath -> IO String
 | 
			
		||||
editFileAtPositionCommand mpos f = do
 | 
			
		||||
  cmd <- getEditCommand
 | 
			
		||||
  let
 | 
			
		||||
    editor = lowercase $ takeFileName $ headDef "" $ words' cmd
 | 
			
		||||
    editor = lowercase $ takeBaseName $ headDef "" $ words' cmd
 | 
			
		||||
    f' = singleQuoteIfNeeded f
 | 
			
		||||
    ml = show.fst <$> mpos
 | 
			
		||||
    mc = maybe Nothing (fmap show.snd) mpos :: Maybe String 
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user