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");
|
||||
}
|
||||
if (CtrlPress(SDLK_Q)) {
|
||||
else if (CtrlPress(SDLK_Q)) {
|
||||
if (active.view->fuzzy_search) {
|
||||
bool success = false;
|
||||
Range range = active.view->carets[0].range;
|
||||
|
||||
@@ -67,7 +67,6 @@ Style.IndentSize = 4
|
||||
Style.FontSize = 15
|
||||
Style.FontFilter = 0
|
||||
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.TrimWhitespaceOnSave = true
|
||||
Style.ClangFormatOnSave = false
|
||||
|
||||
@@ -409,7 +409,6 @@ void InitLuaConfig() {
|
||||
lua_setglobal(LuaState, "OS_VALUE");
|
||||
|
||||
// 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) {
|
||||
const char *error_message = lua_tostring(LuaState, -1);
|
||||
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();
|
||||
if (testing) InitTests();
|
||||
#if _WIN32
|
||||
|
||||
Reference in New Issue
Block a user