File tree Expand file tree Collapse file tree 3 files changed +7
-1
lines changed Expand file tree Collapse file tree 3 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -147,6 +147,9 @@ type XSVim() as this =
147
147
x.Editor.ClearSelection()
148
148
false
149
149
| ModifierKeys.Command when descriptor.KeyChar <> 'z' && descriptor.KeyChar <> 'r' -> false
150
+ | _ when isNull x.Editor ->
151
+ // Seems like we can get into this state when closing a tab
152
+ false
150
153
| _ ->
151
154
let oldState = x.State
152
155
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ open System.Runtime.CompilerServices
5
5
[<AutoOpen>]
6
6
module AddinVersion =
7
7
[<Literal>]
8
- let version = " 0.63.1 "
8
+ let version = " 0.63.2 "
9
9
10
10
[<assembly: AssemblyTitle( " XSVim" ) >]
11
11
// The assembly version has the format {Major}.{Minor}.{Build}.{Revision}
Original file line number Diff line number Diff line change @@ -1218,6 +1218,9 @@ module Vim =
1218
1218
| Func f ->
1219
1219
f()
1220
1220
vimState
1221
+ | EditorFunc f ->
1222
+ f editor
1223
+ vimState
1221
1224
| GotoPad padId ->
1222
1225
Window.gotoPad padId
1223
1226
vimState
You can’t perform that action at this time.
0 commit comments