lorniu / go-translate

Translator on Emacs. Supports multiple engines such as Google, Bing, deepL, ChatGPT, StarDict, Youdao and so on.
GNU General Public License v3.0
274 stars 37 forks source link

The translation result buffer should active auto text wrap (visual line) by default #63

Closed lvscar closed 8 months ago

lvscar commented 10 months ago

It will be better experience for user , if the translation result buffer could active auto text wrap (visual line) by default.

lvscar commented 9 months ago

I have submit a PR for it.

lorniu commented 9 months ago

Maybe it's not necessary.

Put this into your config file if you need visual line mode turned on:

(add-hook 'gts-after-buffer-prepared-hook
          (lambda () (visual-line-mode 1)))
lvscar commented 8 months ago

Ok, simple is better.