aboutsummaryrefslogtreecommitdiff
path: root/README.md
blob: 3942a965326302cf6f631c6cc99b516dfc3ce3ce (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
spellfile\_local.vim
====================

This plugin extends the behaviour of `%` for file buffers to add extra spelling
word lists that are unique to each path and (if applicable) filetype.  The `%`
setting for a file named `test.vim` might look like this:

    spellfile=~/.vim/spell/en.utf-8.add
      ,~/.vim/spell/path/%home%user%test.vim.en.utf-8.add
      ,~/.vim/spell/filetype/vim.en.utf-8.add

Words can then be added to the file's word list with `2zg`, or to the
filetype's list with `3zg`.

License
-------

Copyright (c) [Tom Ryder][1].  Distributed under the same terms as Vim itself.
See `:help license`.

[1]: https://sanctum.geek.nz/