@@ -164,10 +164,10 @@ colorscheme:
164164
1651656. Features *grammalecte-features*
166166
167- The Grammalecte plugin defines 2 commands | :GrammalecteCheck | and
168- | :GrammalecteClean | .
167+ The Grammalecte plugin defines 3 commands | :GrammalecteCheck | ,
168+ | :GrammalecteClean | and | :Grammalecte | .
169169
170- :GrammalecteCheck *:GrammalecteCheck*
170+ :GrammalecteCheck *:GrammalecteCheck*
171171
172172Use the | :GrammalecteCheck | command to check the grammar in the current
173173buffer. This will highlight errors in the buffer. It will also open a new
@@ -179,13 +179,20 @@ grammar between lines 100 and 200 in buffer with :100,200GrammalecteCheck,
179179check grammar in the visual selection with :<',>'GrammalecteCheck, etc.
180180The default range is 1,$ (whole buffer).
181181
182- :GrammalecteClear *:GrammalecteClear*
182+ :GrammalecteClear *:GrammalecteClear*
183183
184184Use the | :GrammalecteClear | command to clear highlighting of grammar
185185mistakes, close the scratch window containing the list of errors, clear
186186and close the location-list.
187187
188- The two commands are also available from the menu in gvim: >
188+ :Grammalecte *:Grammalecte*
189+
190+ Use the | :Grammalecte | command to toggle checking of grammar mistakes. It
191+ allows you to define toggle remap like:
192+
193+ nnoremap <Leader> tg :Grammalecte<Return>
194+
195+ The two main commands are also available from the menu in gvim: >
189196
190197 Plugin -> Grammalecte -> Check
191198 -> Clear
0 commit comments