| Grammalecte : Vim plugin for the Grammalecte French grammar checker 
 
 
  | script karma | Rating 9/3,
    Downloaded by 2094 | Comments, bugs, improvements | Vim wiki |  
 
script versions (upload new version)| created by |  | Dominique Pellé |  |  |  | script type |  | utility |  |  |  | description |  | This plugin integrates Grammalecte into Vim. Grammalecte is an Open Source style and grammar checker for French.
 
 See http://www.dicollecte.org/grammalecte for more details about Grammalecte.
 
 If you don't have time to read help files, this screenshot will give you
 an idea of what the Grammalecte plugin does:
 
 http://dominique.pelle.free.fr/pic/GrammalecteVimPlugin.png
 
 The Grammalecte plugin defines 2 commands :GrammalecteCheck and
 :GrammalecteClean.
 
 :GrammalecteCheck
 
 Use the :GrammalecteCheck command to check the grammar in the current
 buffer. This will highlight errors in the buffer. It will also open a new
 scratch window with the list of grammar mistakes with further explanations
 for each error. It also populates the location-list for the window.
 
 The :GrammalecteCheck command accepts a range. You can for example check
 grammar between lines 100 and 200 in buffer with :100,200GrammalecteCheck,
 check grammar in the visual selection with :<',>'GrammalecteCheck, etc.
 The default range is 1,$ (whole buffer).
 
 :GrammalecteClear
 
 Use the :GrammalecteClear command to clear highlighting of grammar
 mistakes, close the scratch window containing the list of errors, clear
 and close the location-list.
 |  |  |  | install details |  | Unzip file Grammalecte.zip plugin from in your personal |vimfiles| directory (~/.vim under Unix or %HOMEPATH%\vimfiles under Windows):
 
 $ mkdir ~/.vim
 $ cd ~/.vim
 $ unzip /path-to/Grammalecte.zip
 $ vim -c 'helptags ~/.vim/doc'
 
 The zip file contains the following files: >
 
 plugin/Grammalecte.vim
 doc/Grammalecte.vim
 
 You have to enable plugins by adding these two lines in your |.vimrc| file: >
 
 set nocompatible
 filetype plugin on
 
 Alternatively, if you prefer to use Vundle or Pathogen plugin managers,
 the plugin is available on github at:
 
 https://github.com/dpelle/vim-Grammalecte
 
 For example, using Vundle, you can install the plugin by adding
 this line in you ~/.vimrc:
 
 Plugin 'dpelle/vim-Grammalecte'
 
 To use this plugin, you also need to install the Python Grammalecte grammar checker.  Download and unzip the file Grammalecte-fr-v0.5.*.oxt available at  http://www.dicollecte.org/grammalecte/telecharger.php
 
 You then need to specify in your ~/.vimrc the location of Grammalecte using something like:
 
 let g:grammalecte_cli_py='~/Downloads/Grammalecte-fr-v0.5.14/pythonpath/cli.py'
 
 |  |  |  
Click on the package to download.
 
ip used for rating: 142.132.191.50 |