1
1
mirror of https://github.com/qvacua/vimr.git synced 2024-12-25 06:43:24 +03:00

Use DIRCHANGED instead of (custom) CWDCHANGED

This commit is contained in:
Tae Won Ha 2017-01-22 14:16:29 +01:00
parent 7fd7181437
commit 7a0610dee2
No known key found for this signature in database
GPG Key ID: E40743465B5B8B44
4 changed files with 4 additions and 100 deletions

3
.gitignore vendored
View File

@ -177,4 +177,5 @@ Network Trash Folder
Temporary Items
.apdisk
# -------------------------------------------
*.generated.h

View File

@ -1,97 +0,0 @@
@import Foundation;
typedef NS_ENUM(NSUInteger, NeoVimAutoCommandEvent) {
NeoVimAutoCommandEventBUFADD = 0,
NeoVimAutoCommandEventBUFDELETE = 1,
NeoVimAutoCommandEventBUFENTER = 2,
NeoVimAutoCommandEventBUFFILEPOST = 3,
NeoVimAutoCommandEventBUFFILEPRE = 4,
NeoVimAutoCommandEventBUFHIDDEN = 5,
NeoVimAutoCommandEventBUFLEAVE = 6,
NeoVimAutoCommandEventBUFNEW = 7,
NeoVimAutoCommandEventBUFNEWFILE = 8,
NeoVimAutoCommandEventBUFREADCMD = 9,
NeoVimAutoCommandEventBUFREADPOST = 10,
NeoVimAutoCommandEventBUFREADPRE = 11,
NeoVimAutoCommandEventBUFUNLOAD = 12,
NeoVimAutoCommandEventBUFWINENTER = 13,
NeoVimAutoCommandEventBUFWINLEAVE = 14,
NeoVimAutoCommandEventBUFWIPEOUT = 15,
NeoVimAutoCommandEventBUFWRITECMD = 16,
NeoVimAutoCommandEventBUFWRITEPOST = 17,
NeoVimAutoCommandEventBUFWRITEPRE = 18,
NeoVimAutoCommandEventCMDUNDEFINED = 19,
NeoVimAutoCommandEventCMDWINENTER = 20,
NeoVimAutoCommandEventCMDWINLEAVE = 21,
NeoVimAutoCommandEventCOLORSCHEME = 22,
NeoVimAutoCommandEventCOMPLETEDONE = 23,
NeoVimAutoCommandEventCURSORHOLD = 24,
NeoVimAutoCommandEventCURSORHOLDI = 25,
NeoVimAutoCommandEventCURSORMOVED = 26,
NeoVimAutoCommandEventCURSORMOVEDI = 27,
NeoVimAutoCommandEventCWDCHANGED = 28,
NeoVimAutoCommandEventENCODINGCHANGED = 29,
NeoVimAutoCommandEventFILEAPPENDCMD = 30,
NeoVimAutoCommandEventFILEAPPENDPOST = 31,
NeoVimAutoCommandEventFILEAPPENDPRE = 32,
NeoVimAutoCommandEventFILECHANGEDRO = 33,
NeoVimAutoCommandEventFILECHANGEDSHELL = 34,
NeoVimAutoCommandEventFILECHANGEDSHELLPOST = 35,
NeoVimAutoCommandEventFILEREADCMD = 36,
NeoVimAutoCommandEventFILEREADPOST = 37,
NeoVimAutoCommandEventFILEREADPRE = 38,
NeoVimAutoCommandEventFILETYPE = 39,
NeoVimAutoCommandEventFILEWRITECMD = 40,
NeoVimAutoCommandEventFILEWRITEPOST = 41,
NeoVimAutoCommandEventFILEWRITEPRE = 42,
NeoVimAutoCommandEventFILTERREADPOST = 43,
NeoVimAutoCommandEventFILTERREADPRE = 44,
NeoVimAutoCommandEventFILTERWRITEPOST = 45,
NeoVimAutoCommandEventFILTERWRITEPRE = 46,
NeoVimAutoCommandEventFOCUSGAINED = 47,
NeoVimAutoCommandEventFOCUSLOST = 48,
NeoVimAutoCommandEventFUNCUNDEFINED = 49,
NeoVimAutoCommandEventGUIENTER = 50,
NeoVimAutoCommandEventGUIFAILED = 51,
NeoVimAutoCommandEventINSERTCHANGE = 52,
NeoVimAutoCommandEventINSERTCHARPRE = 53,
NeoVimAutoCommandEventINSERTENTER = 54,
NeoVimAutoCommandEventINSERTLEAVE = 55,
NeoVimAutoCommandEventJOBACTIVITY = 56,
NeoVimAutoCommandEventMENUPOPUP = 57,
NeoVimAutoCommandEventOPTIONSET = 58,
NeoVimAutoCommandEventQUICKFIXCMDPOST = 59,
NeoVimAutoCommandEventQUICKFIXCMDPRE = 60,
NeoVimAutoCommandEventQUITPRE = 61,
NeoVimAutoCommandEventREMOTEREPLY = 62,
NeoVimAutoCommandEventSESSIONLOADPOST = 63,
NeoVimAutoCommandEventSHELLCMDPOST = 64,
NeoVimAutoCommandEventSHELLFILTERPOST = 65,
NeoVimAutoCommandEventSOURCECMD = 66,
NeoVimAutoCommandEventSOURCEPRE = 67,
NeoVimAutoCommandEventSPELLFILEMISSING = 68,
NeoVimAutoCommandEventSTDINREADPOST = 69,
NeoVimAutoCommandEventSTDINREADPRE = 70,
NeoVimAutoCommandEventSWAPEXISTS = 71,
NeoVimAutoCommandEventSYNTAX = 72,
NeoVimAutoCommandEventTABCLOSED = 73,
NeoVimAutoCommandEventTABENTER = 74,
NeoVimAutoCommandEventTABLEAVE = 75,
NeoVimAutoCommandEventTABNEW = 76,
NeoVimAutoCommandEventTABNEWENTERED = 77,
NeoVimAutoCommandEventTERMCHANGED = 78,
NeoVimAutoCommandEventTERMCLOSE = 79,
NeoVimAutoCommandEventTERMOPEN = 80,
NeoVimAutoCommandEventTERMRESPONSE = 81,
NeoVimAutoCommandEventTEXTCHANGED = 82,
NeoVimAutoCommandEventTEXTCHANGEDI = 83,
NeoVimAutoCommandEventTEXTYANKPOST = 84,
NeoVimAutoCommandEventUSER = 85,
NeoVimAutoCommandEventVIMENTER = 86,
NeoVimAutoCommandEventVIMLEAVE = 87,
NeoVimAutoCommandEventVIMLEAVEPRE = 88,
NeoVimAutoCommandEventVIMRESIZED = 89,
NeoVimAutoCommandEventWINENTER = 90,
NeoVimAutoCommandEventWINLEAVE = 91
};
#define NumberOfAutoCommandEvents 92

View File

@ -1459,7 +1459,7 @@ extension NeoVimView {
self.tabChanged()
}
if event == .CWDCHANGED {
if event == .DIRCHANGED {
self.cwdChanged()
}

2
neovim

@ -1 +1 @@
Subproject commit 157d037a7c1f28c3e6a518f34608f68682535ed3
Subproject commit 75ea5a4cfe99a3c77fb3da2b24b767e9b453749b