diff options
Diffstat (limited to 'fnl/config/comment.fnl')
-rw-r--r-- | fnl/config/comment.fnl | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/fnl/config/comment.fnl b/fnl/config/comment.fnl index f6e4972..d4256fe 100644 --- a/fnl/config/comment.fnl +++ b/fnl/config/comment.fnl @@ -17,6 +17,7 @@ (internal.calculate_commentstring {:key (get-type ctx U) :location (get-location ctx U)}))) -(let [nvim-comment (util.load-plugin :Comment)] - (nvim-comment.setup {:pre_hook (fn [ctx] - (pre-hook ctx))})) +(def- opts {:pre_hook (fn [ctx] + (pre-hook ctx))}) + +(util.use-config :Comment opts) |