linter-spell-word-list
Helper classes to assist in implementation of linter-spell dictionaries based on word lists.
Usage
To implement a dictionary which stores its word list in Atom's configuration
file use an implementation of provideDictionary
like the following.
{ let a = name: 'Plain Text' keyPath: 'linter-spell.plainTextWords' grammarScopes: 'text.plain' 'text.plain.null-grammar' thisdisposables return }
To store the word list elsewhere you will need to derive a class from WordList
and implement getWords
and addWord
as shown below.
{ superoptions thiswords = } { return thiswords } { thiswords }