From efffe8b9c1e9ce06a58614a4f433f5139efb5d7d Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Sat, 2 Jul 2022 03:13:44 +0200 Subject: Add spellsitter for spell check --- fnl/config/init.fnl | 1 + fnl/config/spellsitter.fnl | 5 +++++ fnl/config/treesitter.fnl | 4 +--- 3 files changed, 7 insertions(+), 3 deletions(-) create mode 100644 fnl/config/spellsitter.fnl (limited to 'fnl/config') 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]} -- cgit v1.2.3-70-g09d2