mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-09-22 13:01:05 +03:00
Added C3 syntax highlighting and LSP support.
Refactored TextUndoStack, now uses std::variant and avoids heap allocating each command. Fix possible crash in Process::readAll. Fix SyntaxDefinition::setSymbols. Some minor improvements for Odin and Ü syntax definitions. Fix Git plugin silent configuration.
This commit is contained in:
@@ -196,9 +196,9 @@ void GitPlugin::load( PluginManager* pluginManager ) {
|
||||
}
|
||||
|
||||
if ( config.contains( "silent" ) )
|
||||
mSilence = config.value( "silent", true );
|
||||
mSilent = config.value( "silent", true );
|
||||
else {
|
||||
config["silent"] = mSilence;
|
||||
config["silent"] = mSilent;
|
||||
updateConfigFile = true;
|
||||
}
|
||||
}
|
||||
@@ -230,7 +230,8 @@ void GitPlugin::load( PluginManager* pluginManager ) {
|
||||
}
|
||||
|
||||
mGit = std::make_unique<Git>( pluginManager->getWorkspaceFolder() );
|
||||
mGit->setLogLevel( mSilence ? LogLevel::Warning : LogLevel::Info );
|
||||
mGit->setLogLevel( Log::instance()->getLogLevelThreshold() );
|
||||
mGit->setSilent( mSilent );
|
||||
mGitFound = !mGit->getGitPath().empty();
|
||||
mProjectPath = mRepoSelected = mGit->getProjectPath();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user