Small fixes
This commit is contained in:
@@ -615,10 +615,10 @@ void OnCommand(Event event) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
if (AltPress(SDLK_L)) {
|
if (CtrlPress(SDLK_SEMICOLON) || CtrlShiftPress(SDLK_Q)) {
|
||||||
Command_Open(FetchLoadWord(), "exec");
|
Command_Open(FetchLoadWord(), "exec");
|
||||||
}
|
}
|
||||||
if (CtrlPress(SDLK_Q)) {
|
else if (CtrlPress(SDLK_Q)) {
|
||||||
if (active.view->fuzzy_search) {
|
if (active.view->fuzzy_search) {
|
||||||
bool success = false;
|
bool success = false;
|
||||||
Range range = active.view->carets[0].range;
|
Range range = active.view->carets[0].range;
|
||||||
|
|||||||
@@ -67,7 +67,6 @@ Style.IndentSize = 4
|
|||||||
Style.FontSize = 15
|
Style.FontSize = 15
|
||||||
Style.FontFilter = 0
|
Style.FontFilter = 0
|
||||||
Style.Font = GetExeDir().."/CascadiaMono.ttf"
|
Style.Font = GetExeDir().."/CascadiaMono.ttf"
|
||||||
Print("Style.Font", Style.Font)
|
|
||||||
Style.VCVarsall = "C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Auxiliary/Build/vcvars64.bat"
|
Style.VCVarsall = "C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Auxiliary/Build/vcvars64.bat"
|
||||||
Style.TrimWhitespaceOnSave = true
|
Style.TrimWhitespaceOnSave = true
|
||||||
Style.ClangFormatOnSave = false
|
Style.ClangFormatOnSave = false
|
||||||
|
|||||||
@@ -409,7 +409,6 @@ void InitLuaConfig() {
|
|||||||
lua_setglobal(LuaState, "OS_VALUE");
|
lua_setglobal(LuaState, "OS_VALUE");
|
||||||
|
|
||||||
// Init base config, test that it works and initialize the lua stuff
|
// Init base config, test that it works and initialize the lua stuff
|
||||||
ReportConsolef("load base lua config");
|
|
||||||
if (!luaL_dostring(LuaState, BaseLuaConfig.data) == LUA_OK) {
|
if (!luaL_dostring(LuaState, BaseLuaConfig.data) == LUA_OK) {
|
||||||
const char *error_message = lua_tostring(LuaState, -1);
|
const char *error_message = lua_tostring(LuaState, -1);
|
||||||
ReportErrorf("Failed to load base lua config! %s", error_message);
|
ReportErrorf("Failed to load base lua config! %s", error_message);
|
||||||
|
|||||||
@@ -422,7 +422,7 @@ int main(int argc, char **argv)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
ReportConsolef("WorkDir = %.*s\n", FmtString(WorkDir));
|
ReportConsolef("WorkDir = %.*s", FmtString(WorkDir));
|
||||||
InitLuaConfig();
|
InitLuaConfig();
|
||||||
if (testing) InitTests();
|
if (testing) InitTests();
|
||||||
#if _WIN32
|
#if _WIN32
|
||||||
|
|||||||
Reference in New Issue
Block a user