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:
1
.vim/spell/.gitattributes
vendored
Normal file
1
.vim/spell/.gitattributes
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
*.add merge=union
|
||||||
2
.vim/spell/.gitignore
vendored
Normal file
2
.vim/spell/.gitignore
vendored
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
*.spl
|
||||||
|
*.sug
|
||||||
@@ -11,3 +11,4 @@ TiddlyWiki
|
|||||||
Royalton
|
Royalton
|
||||||
Pantek
|
Pantek
|
||||||
Crissy
|
Crissy
|
||||||
|
Trello
|
||||||
|
|||||||
Binary file not shown.
5
.vimrc
5
.vimrc
@@ -107,6 +107,11 @@ Plug 'dense-analysis/ale'
|
|||||||
Plug 'godlygeek/tabular'
|
Plug 'godlygeek/tabular'
|
||||||
Plug 'preservim/vim-markdown'
|
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()
|
call plug#end()
|
||||||
|
|
||||||
" ---------------------------------------------------------------------------------------------------------------------
|
" ---------------------------------------------------------------------------------------------------------------------
|
||||||
|
|||||||
Reference in New Issue
Block a user