1
1
mirror of https://github.com/qvacua/vimr.git synced 2024-12-18 11:11:34 +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 visual
case insert case insert
case replace case replace
case cmdline case cmdlineNormal
case cmdlineInsert case cmdlineInsert
case cmdlineReplace case cmdlineReplace
case operatorPending case operatorPending

View File

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

View File

@ -121,7 +121,7 @@ extension NvimView {
return 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 == .replace
|| self.mode == .termFocus { || self.mode == .termFocus {
self.api self.api