summaryrefslogtreecommitdiff
path: root/fnl/config
diff options
context:
space:
mode:
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]}