Skip to content

Commit

Permalink
Handle new EditorFunc actions
Browse files Browse the repository at this point in the history
  • Loading branch information
nosami committed Oct 30, 2018
1 parent 6945c61 commit f32a8db
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
3 changes: 3 additions & 0 deletions XSVim/Addin.fs
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,9 @@ type XSVim() as this =
x.Editor.ClearSelection()
false
| ModifierKeys.Command when descriptor.KeyChar <> 'z' && descriptor.KeyChar <> 'r' -> false
| _ when isNull x.Editor ->
// Seems like we can get into this state when closing a tab
false
| _ ->
let oldState = x.State

Expand Down
2 changes: 1 addition & 1 deletion XSVim/Properties/AssemblyInfo.fs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ open System.Runtime.CompilerServices
[<AutoOpen>]
module AddinVersion =
[<Literal>]
let version = "0.63.1"
let version = "0.63.2"

[<assembly: AssemblyTitle("XSVim")>]
// The assembly version has the format {Major}.{Minor}.{Build}.{Revision}
Expand Down
3 changes: 3 additions & 0 deletions XSVim/XSVim.fs
Original file line number Diff line number Diff line change
Expand Up @@ -1218,6 +1218,9 @@ module Vim =
| Func f ->
f()
vimState
| EditorFunc f ->
f editor
vimState
| GotoPad padId ->
Window.gotoPad padId
vimState
Expand Down

0 comments on commit f32a8db

Please sign in to comment.