diff options
author | Gustaf Rydholm <gustaf@nexure.io> | 2022-10-13 08:58:22 +0200 |
---|---|---|
committer | Gustaf Rydholm <gustaf@nexure.io> | 2022-10-13 08:58:22 +0200 |
commit | a45853f468feb2be399a587664df7f4872816b53 (patch) | |
tree | 2e61c4e65a4329cec30e95fd572ce3a421a36b17 /fnl/settings | |
parent | 8137459a0a2b3c049ab4586acd1d1cd35e6b4c0e (diff) | |
parent | 46eddd8710cf62619ea93a18ae8f3e0d3b85e03e (diff) |
Merge branch 'master' of github.com:aktersnurra/nvim
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"}) |