summaryrefslogtreecommitdiff
path: root/fnl/config/treesitter.fnl
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2022-04-07 22:32:53 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2022-04-07 22:32:53 +0200
commit71d538630b226da37e4ef21c5a84d6fad5f55421 (patch)
tree5f87a9c1194a556d12ffca79ea98a08d76af548e /fnl/config/treesitter.fnl
parentfa9a5c6b80b5b0ffdcddc4b1d1c6cfe887d0bb04 (diff)
fix(load plugin): correct loading err
Diffstat (limited to 'fnl/config/treesitter.fnl')
-rw-r--r--fnl/config/treesitter.fnl31
1 files changed, 15 insertions, 16 deletions
diff --git a/fnl/config/treesitter.fnl b/fnl/config/treesitter.fnl
index cfbf00c..1fc0ec2 100644
--- a/fnl/config/treesitter.fnl
+++ b/fnl/config/treesitter.fnl
@@ -3,19 +3,18 @@
(module config.treesitter
{autoload {util util}})
-(let [(ok? treesitter) util.load-plugin :nvim-treesitter.config]
- (when ok?
- (treesitter.setup
- {:ensure_installed "maintained"
- :sync_install false
- :ignore_install { "" }
- :autopairs { :enable true }
- :highlight {
- :enable true
- :disable [ "org" ]
- :additional_vim_regex_highlighting [ "org" ]}}
- :context_commentstring {
- :enable true
- :enable_autocmd false}
- :indent { :enable true :disable [ "yaml" "python" "css" ] }
- :playground { :enable true }}
+(let [treesitter (util.load-plugin :nvim-treesitter.config)]
+ (treesitter.setup
+ {:ensure_installed "maintained"
+ :sync_install false
+ :ignore_install { "" }
+ :autopairs { :enable true }
+ :highlight {
+ :enable true
+ :disable [ "org" ]
+ :additional_vim_regex_highlighting [ "org" ]}}
+ :context_commentstring {
+ :enable true
+ :enable_autocmd false}
+ :indent { :enable true :disable [ "yaml" "python" "css" ] }
+ :playground { :enable true }}))