piersolenski / wtf.nvim

Delicious diagnostic debugging in Neovim 🤤
400 stars 9 forks source link

Add support for Visual Mode #8

Closed piersolenski closed 1 year ago

piersolenski commented 1 year ago

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.

piersolenski commented 1 year ago

https://github.com/piersolenski/wtf.nvim/tree/feature/visual-mode

piersolenski commented 1 year ago

Closed with https://github.com/piersolenski/wtf.nvim/pull/7