summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fnl/config/init.fnl1
-rw-r--r--fnl/config/spellsitter.fnl5
-rw-r--r--fnl/config/treesitter.fnl4
-rw-r--r--fnl/plugins.fnl1
4 files changed, 8 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]}
diff --git a/fnl/plugins.fnl b/fnl/plugins.fnl
index 7c2d2c2..76536a8 100644
--- a/fnl/plugins.fnl
+++ b/fnl/plugins.fnl
@@ -63,4 +63,5 @@
:nvim-orgmode/orgmode {}
:cappyzawa/trim.nvim {}
:dstein64/vim-startuptime {}
+ :lewis6991/spellsitter.nvim {}
:s1n7ax/nvim-window-picker {}})