A simple plugin that persists the words added with zG
and zW
to a
spellfile
specific to the current file or directory.
-
Keep using
zg
andzw
the way you always did. -
The words you add with
zG
andzW
will be added to./.dialect.{encoding}.add
. -
By default,
dialect.vim
uses aspellfile
for each directory. If you want a differentspellfile
for each specific file, add this to your.vimrc
:let g:dialectmode = 'file'
. You can also add a file called.dialectmain
to a directory and all files in its subdirectories will use thespellfile
there.
That's it!
You may also be interested in my other plugins: