brymer-meneses
grammar-guard.nvim
Lua

Grammar Guard is a Neovim plugin that checks your grammar as you write your LaTeX, Markdown or plain text document.

Last updated Oct 3, 2025
157
Stars
5
Forks
12
Issues
0
Stars/day
Attention Score
24
Language breakdown
Lua 93.5%
Vim Script 6.5%
โ–ธ Files click to expand
README
                                                 __
 / /          / /  _/ /
/ ( / /  /  ' \/  ' \/  / / / ( / // /  / /   / 
\//  \,///////\,//    \/\,/\,//  \,_/</code></pre>

๐Ÿšง Status

This plugin is archived. It was created when there wasn't an easy way to install the ltex language server, prefer using mason.nvim instead.

โ„น๏ธ Introduction

Grammar Guard is a Neovim plugin that uses ltex-ls to check your grammar.

It uses the built-in Neovim LSP to provide feedback while you're writing your L<big><sup>A</sup></big>T<big><sub>E</sub></big>X or Markdown Documents.

Demo

๐ŸŒŸ Features

  • Easy installer, just run :GrammarInstall from Neovim (requires nvim-lsp-installer).
  • L<big><sup>A</sup></big>T<big><sub>E</sub></big>X, Markdown or plain text grammar checking.
  • Integrates well with nvim-lspconfig.
  • Work properly on Windows, Linux, MacOS.

โšก๏ธ Requirements

  • Neovim >= 0.5.0

๐Ÿ“ฆ Installation

Install via your favorite package manager:

To install grammar-guard.nvim you need to install it with your preferred neovim package manager.

packer.nvim

<pre><code class="lang-lua">use { &quot;brymer-meneses/grammar-guard.nvim&quot;, requires = { &quot;neovim/nvim-lspconfig&quot;, &quot;williamboman/nvim-lsp-installer&quot; } }</code></pre>

Run :GrammarInstall or with nvim-lsp-installer :LspInstall ltex

Run :LspInstallInfo` for more information about installed servers.

โš™๏ธ Setup

Integrate the following to your neovim configuration:

-- hook to nvim-lspconfig
require("grammar-guard").init()
After that, you should tune the LSP configuration to your liking.

Example Configuration:

-- setup LSP config require("lspconfig").grammar_guard.setup({   cmd = { '/path/to/ltex-ls' }, -- add this if you install ltex-ls yourself 	settings = { 		ltex = { 			enabled = { "latex", "tex", "bib", "markdown" }, 			language = "en", 			diagnosticSeverity = "information", 			setenceCacheSize = 2000, 			additionalRules = { 				enablePickyRules = true, 				motherTongue = "en", 			}, 			trace = { server = "verbose" }, 			dictionary = {}, 			disabledRules = {}, 			hiddenFalsePositives = {}, 		}, 	}, })

Disclaimer:

This plugin is largely based on the following pull request.

๐Ÿ”— More in this category

ยฉ 2026 GitRepoTrend ยท brymer-meneses/grammar-guard.nvim ยท Updated daily from GitHub