Skip to content

Commit

Permalink
Fix NRE
Browse files Browse the repository at this point in the history
  • Loading branch information
nosami committed May 25, 2018
1 parent 607e035 commit 449dbbb
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
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.60.0"
let version = "0.60.1"

[<assembly: AssemblyTitle("XSVim")>]
// The assembly version has the format {Major}.{Minor}.{Build}.{Revision}
Expand Down
5 changes: 4 additions & 1 deletion XSVim/TreeViewPads.fs
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,10 @@ module treeViewPads =
initialized <- true
let errorPad = IdeApp.Workbench.Pads.ErrorsPad.Content
let errorPadTree = errorPad?view
padTreeViews.initialize errorPadTree

if errorPadTree <> null then
padTreeViews.initialize errorPadTree

for pad in getTreeViewPads() do
let (tree:TreeView) = pad.TreeView?Tree
let (store:TreeStore) = pad.TreeView?Store
Expand Down
2 changes: 2 additions & 0 deletions XSVim/XSVim.fs
Original file line number Diff line number Diff line change
Expand Up @@ -617,6 +617,8 @@ module VimHelpers =
| _ -> editor.CaretOffset, editor.CaretOffset

module Vim =
LoggingService.LogInfo ("XSVim " + version)

let registers = Dictionary<Register, XSVim.Selection>()
let editorStates = Dictionary<FilePath, VimState>()

Expand Down

0 comments on commit 449dbbb

Please sign in to comment.