> For the complete documentation index, see [llms.txt](https://notes.tatusl.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://notes.tatusl.dev/vim/spell-check.md).

# Spell Check

See suggested corrections for a word: `z=`

Add word to the dictionary: `zg`

## Spellcheck Git Commit messages

This is an example how spell checking can be enabled for certain file:

```
autocmd FileType gitcommit setlocal spell
```

## Resources:

Enable Spell Checking in Vim for Markdown and Git Commit Messages - <https://www.adamalbrecht.com/blog/2019/10/21/spell-check-in-vim-for-markdown-and-git-commit-messages/> Vim Spell-Checking - <https://thoughtbot.com/blog/vim-spell-checking>
