typos layer#
The typos layer provides typos-lsp,
a spell checker for source code.
This is different from the ltex layer,
which provides a grammar checker for natural languages (i.e., prose in Typst,
, Markdown…).
ltex | typos | |
|---|---|---|
| Languages | Natural languages | Programming languages |
| Checks | Spelling, grammar, style | Spelling |
| Performance | Fast | Faster |
Actually, typos also runs on content in natural language by default, as that
cannot hurt.
Configuration#
All configuration is done via config files, rather than the layer itself.
Examples#
-- path/of/your/vim/config/init.lua
require("visimp")({
typos = {},
})Documentation#
The official documentation for the underlying plugin is available at the project’s homepage.