diff options
Diffstat (limited to 'lua/99/prompt.lua')
| -rw-r--r-- | lua/99/prompt.lua | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/lua/99/prompt.lua b/lua/99/prompt.lua index 840b5ee..a03b183 100644 --- a/lua/99/prompt.lua +++ b/lua/99/prompt.lua @@ -317,7 +317,6 @@ function Prompt:qfix_data() return self.data.xfix_items end - function Prompt:stop() self:cancel() for _, cb in ipairs(self.clean_ups) do @@ -444,6 +443,15 @@ function Prompt:finalize() self.agent_context, self._99.prompts.tmp_file_location(self.tmp_file) ) + + if + self.operation == "visual" + or self.operation == "tutorial" + or self.operation == "search" + then + table.insert(self.agent_context, self._99.prompts.only_tmp_file_change()) + end + return true, self end |
