You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -897,6 +896,25 @@ <h3>Custom Themes<a class="headerlink" href="#custom-themes" title="Link to this
897
896
<sectionid="configuration-variables">
898
897
<h2>CONFIGURATION VARIABLES<aclass="headerlink" href="#configuration-variables" title="Link to this heading">¶</a></h2>
899
898
<p>These variables can be set using <cite>git config</cite> or from the settings.</p>
899
+
<sectionid="cola-aspell-enabled">
900
+
<h3>cola.aspell.enabled<aclass="headerlink" href="#cola-aspell-enabled" title="Link to this heading">¶</a></h3>
901
+
<p>Set to <cite>true</cite> to enable support for <codeclass="docutils literal notranslate"><spanclass="pre">aspell</span></code> spellcheck dictionaries.
902
+
When <cite>false</cite>, spellcheck dictionaries are read from <codeclass="docutils literal notranslate"><spanclass="pre">/usr/share/dict/words</span></code>
903
+
by default. When <cite>true</cite> Git Cola will run <codeclass="docutils literal notranslate"><spanclass="pre">aspell</span><spanclass="pre">dump</span><spanclass="pre">master</span><spanclass="pre">--lang=$lang</span></code>
904
+
for each of the installed languages to gather words.
905
+
Defaults to <cite>false</cite>.</p>
906
+
</section>
907
+
<sectionid="cola-aspell-lang">
908
+
<h3>cola.aspell.lang<aclass="headerlink" href="#cola-aspell-lang" title="Link to this heading">¶</a></h3>
909
+
<p>Configure the language names that are queried using <codeclass="docutils literal notranslate"><spanclass="pre">aspell</span></code>. For example,
910
+
<codeclass="docutils literal notranslate"><spanclass="pre">git</span><spanclass="pre">config</span><spanclass="pre">--global</span><spanclass="pre">--add</span><spanclass="pre">cola.aspell.lang</span><spanclass="pre">en_US</span></code> will make it so that
911
+
only the <codeclass="docutils literal notranslate"><spanclass="pre">en_US</span></code> language is used.</p>
912
+
<p>This is a multi-valued configuration value.
913
+
<codeclass="docutils literal notranslate"><spanclass="pre">git</span><spanclass="pre">config</span><spanclass="pre">--global</span><spanclass="pre">--add</span><spanclass="pre">cola.aspell.lang</span><spanclass="pre">$lang</span></code> can be run once for each language
914
+
to specify multiple languages to use.</p>
915
+
<p>When unset, all of the two-letter language names from the output of
916
+
<codeclass="docutils literal notranslate"><spanclass="pre">aspell</span><spanclass="pre">dicts</span></code> will be used.</p>
917
+
</section>
900
918
<sectionid="cola-autodetectproxy">
901
919
<h3>cola.autodetectproxy<aclass="headerlink" href="#cola-autodetectproxy" title="Link to this heading">¶</a></h3>
902
920
<p>Set to <cite>false</cite> to disable auto-configuration of HTTP proxy settings based on
@@ -953,7 +971,15 @@ <h3>cola.dictionary<a class="headerlink" href="#cola-dictionary" title="Link to
953
971
files in <cite>~/.local/share</cite> and <cite>$XDG_DATA_DIRS</cite>.</p>
954
972
<p>If <cite>$XDG_DATA_DIRS</cite> is undefined or set to an empty value then <cite>/usr/local/share</cite> and
955
973
<cite>/usr/share</cite> are searched for dictionary files.</p>
956
-
<p>Dictionary files are newline-separated and contain one word per line.</p>
974
+
<p>Dictionary files are newline-separated and contain one word per line.
975
+
Dictionary files must be UTF-8 encoded.</p>
976
+
<p>If you have multiple dictionaries that you would like <cite>git cola</cite> to use then
977
+
you can specify multiple dictionaries using <codeclass="docutils literal notranslate"><spanclass="pre">git</span><spanclass="pre">config</span><spanclass="pre">--global</span><spanclass="pre">--add</span></code>.
978
+
<codeclass="docutils literal notranslate"><spanclass="pre">cola.dictionary</span></code> is a configuration value that can contain multiple values.</p>
0 commit comments