Fix undefined vim_pane when reorienting
Closes #43 - Error related to s:vim_pane on VtrReorient
This commit is contained in:
		
							parent
							
								
									8d064375e5
								
							
						
					
					
						commit
						745a54b0a7
					
				| @ -184,8 +184,8 @@ function! s:BreakRunnerPaneToTempWindow() | ||||
|     let full_command = join([targeted_cmd, "-d"]) | ||||
|     call s:SendTmuxCommand(full_command) | ||||
|     let s:detached_window = s:LastWindowNumber() | ||||
|     let s:vim_pane = s:ActivePaneIndex() | ||||
|     unlet s:runner_pane | ||||
|     unlet s:vim_pane | ||||
| endfunction | ||||
| 
 | ||||
| function! s:RunnerDimensionSpec() | ||||
| @ -289,7 +289,7 @@ endfunction | ||||
| 
 | ||||
| function! s:ReorientRunner() | ||||
|     if !s:ValidRunnerPaneSet() | return | endif | ||||
|     let temp_window = s:BreakRunnerPaneToTempWindow() | ||||
|     call s:BreakRunnerPaneToTempWindow() | ||||
|     call s:ToggleOrientationVariable() | ||||
|     call s:_ReattachPane() | ||||
|     call s:FocusVimPane() | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user