diff options
author | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2022-10-13 00:49:04 +0200 |
---|---|---|
committer | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2022-10-13 00:49:04 +0200 |
commit | 46eddd8710cf62619ea93a18ae8f3e0d3b85e03e (patch) | |
tree | 2e61c4e65a4329cec30e95fd572ce3a421a36b17 /fnl/settings | |
parent | 69483c9b53e8d14e7c4398380ac64b2ea8c27887 (diff) |
Remove spellsitter, add spell support
Diffstat (limited to 'fnl/settings')
-rw-r--r-- | fnl/settings/options.fnl | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/fnl/settings/options.fnl b/fnl/settings/options.fnl index 20926b8..0a1a254 100644 --- a/fnl/settings/options.fnl +++ b/fnl/settings/options.fnl @@ -1,6 +1,8 @@ ;; Sets options in neovim (module settings.options {autoload {nvim aniseed.nvim}}) +(def- spellfile (.. (os.getenv :XDG_CONFIG_HOME) :/nvim/spell/en.utf-8.add)) + (defn- apply-opts [opts] (each [k v (pairs opts)] (tset vim.opt k v))) @@ -73,6 +75,9 @@ ;; is one of my fav :scrolloff 8 :sidescrolloff 8 + :spell true + : spellfile + :spelllang [:en_us] ;; the font used in graphical neovim applications :guifont "monospace:h17"}) |