A simple plugin that persists the words added with zG and zW to a
spellfile specific to the current file or directory.
-
Keep using
zgandzwthe way you always did. -
The words you add with
zGandzWwill be added to./.dialect.{encoding}.add. -
By default,
dialect.vimuses aspellfilefor each directory. If you want a differentspellfilefor each specific file, add this to your.vimrc:let g:dialectmode = 'file'. You can also add a file called.dialectmainto a directory and all files in its subdirectories will use thespellfilethere.
That's it!
You may also be interested in my other plugins: