summaryrefslogtreecommitdiff
path: root/fnl/config
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2022-07-02 03:13:44 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2022-07-02 03:13:44 +0200
commitefffe8b9c1e9ce06a58614a4f433f5139efb5d7d (patch)
tree85c50e6c2282d74ada86b6aeb916045688404754 /fnl/config
parent2de407ab992f3c951f416ae8c8b1c1f6994cc8c5 (diff)
Add spellsitter for spell check
Diffstat (limited to 'fnl/config')
-rw-r--r--fnl/config/init.fnl1
-rw-r--r--fnl/config/spellsitter.fnl5
-rw-r--r--fnl/config/treesitter.fnl4
3 files changed, 7 insertions, 3 deletions
diff --git a/fnl/config/init.fnl b/fnl/config/init.fnl
index caecf18..451e605 100644
--- a/fnl/config/init.fnl
+++ b/fnl/config/init.fnl
@@ -17,6 +17,7 @@
config.spectre
config.telescope
config.treesitter
+ config.spellsitter
config.window-picker
config.which-key
config.zen
diff --git a/fnl/config/spellsitter.fnl b/fnl/config/spellsitter.fnl
new file mode 100644
index 0000000..695c069
--- /dev/null
+++ b/fnl/config/spellsitter.fnl
@@ -0,0 +1,5 @@
+;; Enable spell checking in comments.
+(module config.spellsitter {autoload {util util}})
+
+(let [spellsitter (util.load-plugin :spellsitter)]
+ (spellsitter.setup {:enable true :debug false}))
diff --git a/fnl/config/treesitter.fnl b/fnl/config/treesitter.fnl
index cdc8a7a..b94e442 100644
--- a/fnl/config/treesitter.fnl
+++ b/fnl/config/treesitter.fnl
@@ -25,9 +25,7 @@
:sync_install false
:ignore_install [""]
:autopairs {:enable true}
- :highlight {:enable true
- :disable [:org]
- :additional_vim_regex_highlighting [:org]}
+ :highlight {:enable true :disable [:org]}
:context_commentstring {:enable true
:enable_autocmd false}
:indent {:enable true :disable [:yaml :python :css]}