Change the initPy macro so it types only __init__, not __init__.py
`__init__` is used more often because classes.
This commit is contained in:
		| @@ -252,12 +252,12 @@ KEYMAPS( | |||||||
| // Note that this layout was made for a Hungarian OS layout, hence the y/z and _/? swaps. | // Note that this layout was made for a Hungarian OS layout, hence the y/z and _/? swaps. | ||||||
| MACRO_TYPER(extPython, ".pz"); | MACRO_TYPER(extPython, ".pz"); | ||||||
| MACRO_TYPER(extOrg, ".org"); | MACRO_TYPER(extOrg, ".org"); | ||||||
| MACRO_TYPER(initPy, "??init??.pz"); | MACRO_TYPER(pyInit, "??init??"); | ||||||
|  |  | ||||||
| static const kaleidoscope::plugin::Leader::dictionary_t leader_dictionary[] PROGMEM = LEADER_DICT | static const kaleidoscope::plugin::Leader::dictionary_t leader_dictionary[] PROGMEM = LEADER_DICT | ||||||
|     ({LEADER_SEQ(LEAD(MAIN), Key_P), LEAD_MACRO(extPython)}, |     ({LEADER_SEQ(LEAD(MAIN), Key_P), LEAD_MACRO(extPython)}, | ||||||
|      {LEADER_SEQ(LEAD(MAIN), Key_O), LEAD_MACRO(extOrg)}, |      {LEADER_SEQ(LEAD(MAIN), Key_O), LEAD_MACRO(extOrg)}, | ||||||
|      {LEADER_SEQ(LEAD(MAIN), Key_I), LEAD_MACRO(initPy)}); |      {LEADER_SEQ(LEAD(MAIN), Key_I), LEAD_MACRO(pyInit)}); | ||||||
|  |  | ||||||
| void toggleLedsOnSuspendResume( | void toggleLedsOnSuspendResume( | ||||||
|     kaleidoscope::plugin::HostPowerManagement::Event event) { |     kaleidoscope::plugin::HostPowerManagement::Event event) { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user