forked from qt-creator/qt-creator
AI Assistant: Add trigger suggestion on user demand
Change-Id: I3f2432266e6fe52311ffa5ac2f2a76af72161a3d Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io> Reviewed-by: <mua@spyro-soft.com>
This commit is contained in:
@@ -20,9 +20,9 @@ It will try to install it if it is not found.
|
||||
hooks = {
|
||||
editors = {
|
||||
text = {
|
||||
opened = function(document) require 'init'.Hooks.onDocumentOpened(document) end,
|
||||
closed = function(document) require 'init'.Hooks.onDocumentClosed(document) end,
|
||||
contentsChanged = function(document) require 'init'.Hooks.onDocumentContentsChanged(document) end,
|
||||
contentsChanged = function(document, position, charsRemoved, charsAdded)
|
||||
require 'init'.Hooks.onDocumentContentsChanged(document, position, charsRemoved, charsAdded)
|
||||
end,
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user