1
1
mirror of https://github.com/qvacua/vimr.git synced 2024-12-18 03:01:38 +03:00
This commit is contained in:
Tae Won Ha 2019-12-26 10:26:40 +01:00
parent 89c7276f4a
commit e8f17df81a
No known key found for this signature in database
GPG Key ID: E40743465B5B8B44
3 changed files with 3 additions and 3 deletions

View File

@ -12,7 +12,7 @@ public enum CursorModeShape: UInt {
case visual
case insert
case replace
case cmdline
case cmdlineNormal
case cmdlineInsert
case cmdlineReplace
case operatorPending

View File

@ -68,7 +68,7 @@ extension NvimView {
case .visual: return "Visual"
case .insert: return "Insert"
case .replace: return "Replace"
case .cmdline: return "Cmdline"
case .cmdlineNormal: return "Cmdline"
case .cmdlineInsert: return "CmdlineInsert"
case .cmdlineReplace: return "CmdlineReplace"
case .operatorPending: return "OperatorPending"

View File

@ -121,7 +121,7 @@ extension NvimView {
return
}
if self.mode == .cmdline || self.mode == .cmdlineInsert || self.mode == .cmdlineReplace
if self.mode == .cmdlineNormal || self.mode == .cmdlineInsert || self.mode == .cmdlineReplace
|| self.mode == .replace
|| self.mode == .termFocus {
self.api