Performance improvements due to not debouncing some function calls.

Adjust JSX and TS syntax definitions.
This commit is contained in:
Martín Lucas Golini
2025-04-02 20:24:45 -03:00
parent 577f2e3dbb
commit 2a88bac8a1
7 changed files with 68 additions and 67 deletions

View File

@@ -1,5 +1,5 @@
#include "lspclientplugin.hpp"
#include "lspclientserver.hpp"
#include "lspclientplugin.hpp"
#include "lspclientservermanager.hpp"
#include <algorithm>
#include <eepp/system/filesystem.hpp>
@@ -752,7 +752,7 @@ static LSPMarkupContent parseMarkupContent( const json& v ) {
static LSPHover parseHover( const json& result ) {
LSPHover ret;
if ( result.is_null() )
if ( result.is_null() || !result.contains( "contains" ) )
return ret;
if ( result.contains( MEMBER_RANGE ) )