summaryrefslogtreecommitdiff
path: root/fnl/config
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2022-10-13 00:49:04 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2022-10-13 00:49:04 +0200
commit46eddd8710cf62619ea93a18ae8f3e0d3b85e03e (patch)
tree2e61c4e65a4329cec30e95fd572ce3a421a36b17 /fnl/config
parent69483c9b53e8d14e7c4398380ac64b2ea8c27887 (diff)
Remove spellsitter, add spell support
Diffstat (limited to 'fnl/config')
-rw-r--r--fnl/config/cmp.fnl1
-rw-r--r--fnl/config/init.fnl1
-rw-r--r--fnl/config/spellsitter.fnl6
3 files changed, 1 insertions, 7 deletions
diff --git a/fnl/config/cmp.fnl b/fnl/config/cmp.fnl
index 4b7c49b..bf4a331 100644
--- a/fnl/config/cmp.fnl
+++ b/fnl/config/cmp.fnl
@@ -25,6 +25,7 @@
:sources [{:name :nvim_lsp}
{:name :nvim_lua}
{:name :luasnip}
+ {:name :spell}
{:name :buffer :keyword_length 4}
{:name :path :keyword_length 6}]
:formatting {:format (lspkind.cmp_format {:with_text true
diff --git a/fnl/config/init.fnl b/fnl/config/init.fnl
index 059a42b..860cdc4 100644
--- a/fnl/config/init.fnl
+++ b/fnl/config/init.fnl
@@ -23,7 +23,6 @@
config.orgmode
config.project
config.spectre
- config.spellsitter
config.stay-in-place
config.stabilize
config.surround
diff --git a/fnl/config/spellsitter.fnl b/fnl/config/spellsitter.fnl
deleted file mode 100644
index dbd006c..0000000
--- a/fnl/config/spellsitter.fnl
+++ /dev/null
@@ -1,6 +0,0 @@
-;; Enable spell checking in comments.
-(module config.spellsitter {autoload {: util}})
-
-(def- opts {:enable true :debug false})
-
-(util.use-config :spellsitter opts)