Skip to content

Commit 3b41fa6

Browse files
committed
Updated download instructions
Help now suggests to download the CLI version of Grammalecte instead of the LibreOffice version.
1 parent 0105c72 commit 3b41fa6

File tree

1 file changed

+12
-5
lines changed

1 file changed

+12
-5
lines changed

doc/Grammalecte.txt

+12-5
Original file line numberDiff line numberDiff line change
@@ -86,11 +86,18 @@ this line in you ~/.vimrc: >
8686
8787
4.2 Installing Grammalecte
8888

89-
To use this plugin, you need to install the Python Grammalecte program.
90-
For this, unzip the OXT file into a folder of your liking, say
91-
$HOME/Grammalecte-fr-v0.5.14, and point let g:grammalect_cli_py towards it:
89+
To use this plugin, you need to install the Python Grammalecte command
90+
line interface available at: https://dicollecte.org/grammalecte/telecharger.php
9291

93-
let g:grammalect_cli_py='$HOME/Grammalecte-fr-v0.5.14/pythonpath/cli.py' 
92+
Here is how to install Grammalecte CLI:
93+
94+
$ mkdir Grammalecte-fr-v0.5.17
95+
$ wget http://www.dicollecte.org/grammalecte/oxt/Grammalecte-fr-v0.5.17.zip
96+
$ unzip Grammalecte-fr-v0.5.17.zip
97+
98+
Then set g:grammalect_cli_py in your .virmc to point to the file cli.py:
99+
100+
let g:grammalect_cli_py='$HOME/Grammalecte-fr-v0.5.17/cli.py' 
94101

95102
============================================================================
96103

@@ -107,7 +114,7 @@ g:grammalecte_cli_py *g:grammalecte_cli_py*
107114

108115
Example: >
109116
110-
:let g:grammalect_cli_py='$HOME/Grammalecte-fr-v0.5.14/pythonpath/cli.py'
117+
:let g:grammalect_cli_py='$HOME/Grammalecte-fr-v0.5.17/cli.py'
111118
112119
g:gammalecte_disable_rules *g:grammalecte_disable_rules*
113120

0 commit comments

Comments
 (0)