From 46eddd8710cf62619ea93a18ae8f3e0d3b85e03e Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Thu, 13 Oct 2022 00:49:04 +0200 Subject: Remove spellsitter, add spell support --- fnl/settings/options.fnl | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'fnl/settings') 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"}) -- cgit v1.2.3-70-g09d2