Skip to content

Loading custom dictionaries from a remote source (e.g. from a GitHub Gist) #1857

Answered by Jason3S
PaulRBerg asked this question in Q&A
Discussion options

You must be logged in to vote

Gist Based CSpell Config

This is an example of a CSpell configuration stored in a gist.

There are two opitons:

  1. Just having the dictionary in a gist.
  2. Having the entire configuration in the gist.

Using just a dictionary file from Gist

  1. Get the raw url of dictionary file.
  2. Reference the dictionary file in the dictionaryDefinitions of the CSpell Config.

cspell.cofnig.yaml

dictionaryDefinitions:
  - name: gist-dict
    path: https://gist.githubusercontent.com/Jason3S/6a88fd2993f4139a567787f4e5e19f40/raw/dictionary.txt
dictionaries:
  - gist-dict

Using the configuration from Gist

  1. Get the raw url of the configuration file stored in the Gist.
  2. Add the url to the import section of the cspell co…

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@PaulRBerg
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by Jason3S
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants