mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-05-31 18:46:29 +03:00
eepp: Improved String::unescape. Improved JavaScript+TypeScript regex tokenization. Minor fix for unescaped search in text highlights in UICodeEditor.
ecode: Avoid reloading plugins when a new instance of ecode is opened. Improved plugins logs.
This commit is contained in:
@@ -736,8 +736,8 @@ void LSPClientPlugin::loadLSPConfig( std::vector<LSPDefinition>& lsps, const std
|
||||
j = json::parse( data, nullptr, true, true );
|
||||
} catch ( const json::exception& e ) {
|
||||
Log::error( "LSPClientPlugin::loadLSPConfig - Error parsing LSP config from "
|
||||
"path %s, error: ",
|
||||
path.c_str(), e.what() );
|
||||
"path %s, error: %s, config file content:\n%s",
|
||||
path.c_str(), e.what(), data.c_str() );
|
||||
if ( !updateConfigFile )
|
||||
return;
|
||||
// Recreate it
|
||||
@@ -745,6 +745,10 @@ void LSPClientPlugin::loadLSPConfig( std::vector<LSPDefinition>& lsps, const std
|
||||
nullptr, true, true );
|
||||
}
|
||||
|
||||
if ( updateConfigFile ) {
|
||||
mConfigHash = String::hash( data );
|
||||
}
|
||||
|
||||
if ( j.contains( "config" ) ) {
|
||||
auto& config = j["config"];
|
||||
if ( config.contains( "hover_delay" ) )
|
||||
|
||||
Reference in New Issue
Block a user