A Telescope extension to open a list of synonyms with definitions for a word.
Go to file
Rudis Muiznieks 179c73a627
updated screenshot to pull from new repo location
2022-01-16 08:29:41 -06:00
lua/telescope/_extensions removed misguided code 2021-09-04 19:07:46 -05:00
.editorconfig initial commit 2021-09-04 17:25:04 -05:00
.gitignore removed language server cache garbage 2021-09-04 19:05:49 -05:00
README.md updated screenshot to pull from new repo location 2022-01-16 08:29:41 -06:00
TODO.md updated todo 2021-09-11 07:54:28 -05:00

README.md

telescope-dict.nvim

A Telescope extension that loads a list of synonyms for the word under the cusor in the current buffer, and shows their definition in the preview window. Selecting one of the synonyms replaces the word in the buffer.

Screenshot

Requirements

These should be available through your package manager (or likely already installed, in the case of perl):

  • perl
  • dictd: dictionary server
    • dict-wn: WordNet dictionary for dictd
    • dict-moby-thesaurus: Moby Thesaurus dictionary for dictd

Usage

Install with packer (or similar equivalent package manager):

use 'rudism/telescope-dict.nvim'

Bind this to a key and execute it to open the synonym list for the word currently under the cursor:

require('telescope').extensions.dict.synonyms()