2024-07-03 17:13:09 +02:00
|
|
|
-- Copyright (C) 2024 The Qt Company Ltd.
|
|
|
|
|
-- SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
|
|
|
|
return {
|
|
|
|
|
Name = "AiAssistant",
|
|
|
|
|
Version = "1.0.0",
|
|
|
|
|
CompatVersion = "1.0.0",
|
|
|
|
|
Vendor = "The Qt Company",
|
|
|
|
|
Category = "Language Client",
|
|
|
|
|
Description = "The AI Assistant Server",
|
|
|
|
|
Experimental = true,
|
2024-07-10 12:47:23 +02:00
|
|
|
DisabledByDefault = true,
|
2024-07-03 17:13:09 +02:00
|
|
|
LongDescription = [[
|
|
|
|
|
This plugin provides the AI Assistant Server.
|
|
|
|
|
It will try to install it if it is not found.
|
|
|
|
|
]],
|
|
|
|
|
Dependencies = {
|
|
|
|
|
{ Name = "Lua", Version = "14.0.0" },
|
|
|
|
|
{ Name = "LuaLanguageClient", Version = "14.0.0" }
|
|
|
|
|
},
|
2024-07-10 12:47:23 +02:00
|
|
|
hooks = {
|
|
|
|
|
editors = {
|
|
|
|
|
documentOpened = function(document) require 'init'.Hooks.onDocumentOpened(document) end,
|
|
|
|
|
documentClosed = function(document) require 'init'.Hooks.onDocumentClosed(document) end,
|
|
|
|
|
}
|
|
|
|
|
},
|
2024-07-03 17:13:09 +02:00
|
|
|
setup = function()
|
|
|
|
|
require 'init'.setup()
|
|
|
|
|
end,
|
|
|
|
|
} --[[@as QtcPlugin]]
|