Try fix new Sys functions in Haiku.

This commit is contained in:
Martín Lucas Golini
2024-09-28 14:26:37 -03:00
parent 5a7e7e5387
commit 8c898b68e2
8 changed files with 48 additions and 21 deletions

View File

@@ -63,7 +63,7 @@ class AutoCompletePlugin : public Plugin {
"Auto complete shows the completion popup as you type, so you can fill "
"in long words by typing only a few characters.",
AutoCompletePlugin::New,
{ 0, 2, 5 },
{ 0, 2, 6 },
AutoCompletePlugin::NewSync };
}

View File

@@ -34,7 +34,7 @@ class FormatterPlugin : public Plugin {
static PluginDefinition Definition() {
return {
"autoformatter", "Auto Formatter", "Enables the code formatter/prettifier plugin.",
FormatterPlugin::New, { 0, 2, 4 }, FormatterPlugin::NewSync };
FormatterPlugin::New, { 0, 2, 5 }, FormatterPlugin::NewSync };
}
static Plugin* New( PluginManager* pluginManager );

View File

@@ -36,7 +36,7 @@ static constexpr const char* GIT_STASH = "git-stash";
class GitPlugin : public PluginBase {
public:
static PluginDefinition Definition() {
return { "git", "Git", "Git integration", GitPlugin::New, { 0, 1, 0 }, GitPlugin::NewSync };
return { "git", "Git", "Git integration", GitPlugin::New, { 0, 1, 1 }, GitPlugin::NewSync };
}
static Plugin* New( PluginManager* pluginManager );

View File

@@ -59,7 +59,7 @@ class LinterPlugin : public Plugin {
"Use static code analysis tool used to flag programming errors, bugs, "
"stylistic errors, and suspicious constructs.",
LinterPlugin::New,
{ 0, 2, 5 },
{ 0, 2, 6 },
LinterPlugin::NewSync };
}

View File

@@ -27,7 +27,7 @@ class LSPClientPlugin : public Plugin {
public:
static PluginDefinition Definition() {
return { "lspclient", "LSP Client", "Language Server Protocol Client.",
LSPClientPlugin::New, { 0, 2, 6 }, LSPClientPlugin::NewSync };
LSPClientPlugin::New, { 0, 2, 7 }, LSPClientPlugin::NewSync };
}
static Plugin* New( PluginManager* pluginManager );

View File

@@ -20,7 +20,7 @@ class XMLToolsPlugin : public PluginBase {
"XML Tools",
"Simple tools to improve your XML editing experience.",
XMLToolsPlugin::New,
{ 0, 0, 3 },
{ 0, 0, 4 },
XMLToolsPlugin::NewSync };
}