Add nvim spell dicts and management

Added custom term spell dictionary for neovim. Will track any words that
should be needed on all my machines.

Added spellmake plugin which watches spellfiles and rebuilds the binary
whenever a new word has been added through external edits like git.

The plugin also automatically adds a gitignore file for the .spl
file, and a unison merge strategy through a gitattributes file to any
spell directory it finds. Ignoring is due to .spl being automatically
generated binary files. The merge strategy ensures that no merge errors
will pop up even when words get added in different orders. All it cares
about is that the content of the files is the same, in whatever order.
This commit is contained in:
Marty Oehme 2020-02-06 23:12:49 +01:00
parent 348a167390
commit 83728d6fb0
3 changed files with 7 additions and 0 deletions

View file

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

2
nvim/.config/nvim/spell/.gitignore vendored Normal file
View file

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

View file

@ -0,0 +1,4 @@
neoliberalism
exchangeability
globalization
nomadism