Currently the Wtf command only works in normal mode, sending the current line's diagnostics to ChatGPT. By adding support for visual mode, we can send all of the diagnostics within a selection to ChatGPT, as well as relevant parts of the code so that the answers are even more custom tailored to the code responsible for them.
Currently the
Wtf
command only works in normal mode, sending the current line's diagnostics to ChatGPT. By adding support for visual mode, we can send all of the diagnostics within a selection to ChatGPT, as well as relevant parts of the code so that the answers are even more custom tailored to the code responsible for them.