Integrated vim-spellsync

Magically rebuild Vim spell files if word lists are modified outside of
Vim. One use case would be if word lists are stored in a source control
system like Git and shared across multiple computers\. SpellSync also
creates `.gitignore` and `.gitattributes` files in Vim's spell directories
to exclude binary spell files and uses its union merge driver to avoid
conflicts.
[link]](https://github.com/micarmst/vim-spellsync)
This commit is contained in:
2024-02-25 13:21:44 -05:00
parent d3407f9bab
commit bdf7cbd88c
5 changed files with 9 additions and 0 deletions

1
.vim/spell/.gitattributes vendored Normal file
View File

@@ -0,0 +1 @@
*.add merge=union

2
.vim/spell/.gitignore vendored Normal file
View File

@@ -0,0 +1,2 @@
*.spl
*.sug

View File

@@ -11,3 +11,4 @@ TiddlyWiki
Royalton
Pantek
Crissy
Trello

Binary file not shown.

5
.vimrc
View File

@@ -107,6 +107,11 @@ Plug 'dense-analysis/ale'
Plug 'godlygeek/tabular'
Plug 'preservim/vim-markdown'
" Vim Spellsync
" Magically rebuild Vim spell files if word lists are modified outside of Vim
" https://github.com/micarmst/vim-spellsync
Plug 'micarmst/vim-spellsync'
call plug#end()
" ---------------------------------------------------------------------------------------------------------------------