Skip to content

Releases: addsalt1t/translate.nvim

v1.0.0

28 Feb 12:54

Choose a tag to compare

Initial Release

Minimal translation plugin for Neovim with DeepL and Google Cloud Translation engines.

Features

  • Translate visual selections with a single keymap
  • DeepL and Google Cloud Translation API v2 support
  • Floating window output with centered engine title in border
  • Target language picker (vim.ui.select) per engine
  • Engine switcher with automatic target language normalization
  • Persist last-used engine and target language across sessions
  • Preserve original line structure: blank lines and leading indentation
  • Parallel chunking for large selections (50 lines per request)
  • Race guard: rapid re-translations cancel stale in-flight requests
  • Security: API keys passed via curl stdin, never as CLI arguments

Requirements

  • Neovim 0.10+
  • curl in PATH
  • DeepL (DEEPL_AUTH_KEY) or Google (GOOGLE_TRANSLATE_API_KEY) API key