Skip to content

Commit

Permalink
Slight changes to vimrc error reporting
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredpar committed Jan 19, 2015
1 parent c0f5503 commit 1d0ff6f
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -229,11 229,16 @@ static DefaultOptionPage()
public bool UseEditorDefaults { get; set; }

[DisplayName("VimRc File Loading")]
[Description("Controls how VsVim probes for vsvim / vimrc files")]
[Description("Controls how VsVim probes for vsvimrc / vimrc files")]
[Category(CategoryGeneral)]
[TypeConverter(typeof(VimRcLoadSettingConverter))]
public VimRcLoadSetting VimRcLoadSetting { get; set; }

[DisplayName("VimRc Error Reporting")]
[Description("Display errors when loading a vsvimrc / vimrc file")]
[Category(CategoryGeneral)]
public bool DisplayVimRcLoadErrors { get; set; }

[DisplayName("Word Wrap Display")]
[Description("Controls how word wrap is displayed")]
[Category(CategoryGeneral)]
Expand Down Expand Up @@ -309,6 314,7 @@ protected override void OnActivate(CancelEventArgs e)
UseEditorCommandMargin = vimApplicationSettings.UseEditorCommandMargin;
VimRcLoadSetting = vimApplicationSettings.VimRcLoadSetting;
DisplayControlCharacters = vimApplicationSettings.DisplayControlChars;
DisplayVimRcLoadErrors = !vimApplicationSettings.HaveNotifiedVimRcErrors;
WordWrapDisplay = vimApplicationSettings.WordWrapDisplay;
}

Expand All @@ -330,6 336,7 @@ protected override void OnApply(PageApplyEventArgs e)
vimApplicationSettings.UseEditorCommandMargin = UseEditorCommandMargin;
vimApplicationSettings.VimRcLoadSetting = VimRcLoadSetting;
vimApplicationSettings.DisplayControlChars = DisplayControlCharacters;
vimApplicationSettings.HaveNotifiedVimRcErrors = !DisplayVimRcLoadErrors;
vimApplicationSettings.WordWrapDisplay = WordWrapDisplay;
}

Expand Down

0 comments on commit 1d0ff6f

Please sign in to comment.