Skip to content

Commit 161e75e

Browse files
committed
fix: add additional thinking check
1 parent afb8aab commit 161e75e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/parrot/provider/anthropic.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ end
109109
function Anthropic:notify_thinking(thinking)
110110
vim.schedule(function()
111111
local config = require("parrot.config")
112-
if not config.options.show_thinking_window then
112+
if config.options.show_thinking_window ~= nil and not config.options.show_thinking_window then
113113
return
114114
end
115115
if not self._thinking_buf or not vim.api.nvim_buf_is_valid(self._thinking_buf) then

0 commit comments

Comments
 (0)