Skip to content

Commit

Permalink
doc: improve vimtex-grammar, mention angryreviewer
Browse files Browse the repository at this point in the history
refer: #2354
  • Loading branch information
lervag committed Mar 16, 2022
1 parent dad71b9 commit 8020e33
Showing 1 changed file with 17 additions and 14 deletions.
31 changes: 17 additions & 14 deletions doc/vimtex.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4971,34 +4971,37 @@ Finally, for more full-fledged linting in Vim, see the plug-ins mentioned in
GRAMMAR CHECKING *vimtex-grammar*

VimTeX provides several compilers for grammar checking TeX files through the
|compiler-select| feature in Vim:
|compiler-select| feature in Vim. A compiler may be activated with the
|:compiler| command (see |vimtex-lint| above for some more tips on how to use
this feature). The selected compiler may then be used e.g. with |:make| or
|:lmake|. As an example, one may do the following to use the |location-list|
with a given checker: >
style-check~
https://github.com/nspring/style-check.git
:compiler {checker}|lmake
The following is a list of the available checkers:

textidote~
See more details here: |vimtex-grammar-textidote|

vlty~
See more details here: |vimtex-grammar-vlty|

A compiler may be activated with the |:compiler| command. The selected compiler
may then be used e.g. with |:make| or |:lmake|. As an example, one may do the
following to use the |location-list| with a given checker: >
:compiler {checker}|lmake
See |vimtex-lint| above for some tips on how to use this feature. The
following is a list of the available checkers:
style-check~
https://github.com/nspring/style-check.git

The language of the Tex file is determined by the option |'spelllang'|. This
option can be specified in ones vimrc file, but it can also be specified in
a |modeline| (see also the user manual section |21.6| for a gentle
introduction to the use of modelines).

Finally, one should also notice the LTeX project. It is a grammar and spell
checking tool available as a language server. See |vimtex-af-lsp| for more
info.
Other possibilities for grammar and language checking are:
* The LTeX project: a grammar and spell checking tool available as a language
server. See |vimtex-af-lsp| for more info.
* Angry Reviewer: An off-line vim plugin for the AngryReviewer service that
provides style suggestions for academic and scientific text in the quickfix
list.
https://github.com/anufrievroman/vim-angry-reviewer

------------------------------------------------------------------------------
TEXTIDOTE *vimtex-grammar-textidote*
Expand Down

0 comments on commit 8020e33

Please sign in to comment.