Skip to content

Commit

Permalink
Force Visual Studio default caret in Insert Mode
Browse files Browse the repository at this point in the history
Fixes #2955
  • Loading branch information
nosami committed Apr 1, 2024
1 parent 8067489 commit 411528c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Src/VimMac/VimExtensionAdapter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ internal class VimExtensionAdapter : IExtensionAdapter
false;

protected virtual bool UseDefaultCaret =>
false;
true;

private bool? Unless(bool expected, bool value)
{
Expand All @@ -42,6 +42,6 @@ internal class VimExtensionAdapter : IExtensionAdapter
Unless(false, IsIncrementalSearchActive(textView));

bool? IExtensionAdapter.UseDefaultCaret =>
Unless(false, UseDefaultCaret);
Unless(true, UseDefaultCaret);
}
}
2 changes: 1 addition & 1 deletion Src/VimWpf/VimHost.cs
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public virtual DefaultSettings DefaultSettings

public virtual bool UseDefaultCaret
{
get { return false; }
get { return true; }
}

protected VimHost(
Expand Down

0 comments on commit 411528c

Please sign in to comment.