Bub Espinja
Bub Espinja

Reputation: 4581

How to add words to the Atom's linter-spell dictionary

I am using the linter-spell package instead of the "by default" spell-check in Atom.

In this question somebody asks about adding words to the spell-check dictionary.

My question is how to add words to the linter-spell dictionary.

Upvotes: 8

Views: 1366

Answers (3)

DHARMENDRA SINGH
DHARMENDRA SINGH

Reputation: 615

Version 1.12 have this funcationality. Press cmd+shift while hover on word and select add this word

Upvotes: 2

Arvind
Arvind

Reputation: 730

As stated in the documentation,

Spell checking is done upon document save with misspellings displayed by linter. Misspellings can be corrected or added to personal dictionary using the intentions package via ctrl+enter on OSX and alt+enter on Linux and Windows.

A clear description of what you need to do is given here.

This works in such a way that it prompts you to fix linter issue, on clicking it you can assign a JS function to do whatever you want. I've also found that linter-spell relies on Hunspell and GNU Aspel which means you can add the words to the system dictionary / or any dictionary in their path to make it work.

Hunspell

Add new word to hunspell dict. echo -e "*new_word\n#" | hunspell -a

Hope this helps.

Upvotes: 0

Nishnha
Nishnha

Reputation: 323

As per the documentation for linter-spell:

Misspellings can be corrected or added to personal dictionary using the intentions package via ctrl+enter on OSX and alt+enter on Linux and Windows.

Upvotes: 7

Related Questions