diff options
author | aktersnurra <grydholm@kth.se> | 2022-04-30 18:42:38 +0200 |
---|---|---|
committer | aktersnurra <grydholm@kth.se> | 2022-04-30 18:42:38 +0200 |
commit | a07cea1de3f964da245874fb2f18969df6ef4ce6 (patch) | |
tree | 34649b5fceda79956dd8c3669c42dff92dc91131 /fnl/config | |
parent | 383ee874e7e9ebf6126dd18abad14611de99e4c9 (diff) |
fix: renmae ncomment
Diffstat (limited to 'fnl/config')
-rw-r--r-- | fnl/config/comment.fnl (renamed from fnl/config/ncomment.fnl) | 6 | ||||
-rw-r--r-- | fnl/config/init.fnl | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/fnl/config/ncomment.fnl b/fnl/config/comment.fnl index e6a77d1..92df966 100644 --- a/fnl/config/ncomment.fnl +++ b/fnl/config/comment.fnl @@ -1,5 +1,5 @@ ;; Language aware commenting. -(module config.ncomment +(module config.comment {autoload {util util}}) (defn- get-type [ctx U] @@ -22,7 +22,7 @@ {:key (get-type ctx U) :location (get-location ctx U)}))) -(let [ncomment (util.load-plugin :Comment)] - (ncomment.setup +(let [nvim-comment (util.load-plugin :Comment)] + (nvim-comment.setup {:pre_hook (fn [ctx] (pre-hook ctx))})) diff --git a/fnl/config/init.fnl b/fnl/config/init.fnl index be81549..7013719 100644 --- a/fnl/config/init.fnl +++ b/fnl/config/init.fnl @@ -13,7 +13,7 @@ config.gitsigns config.hop config.lualine - config.ncomment + config.comment config.nvim-tree config.orgmode config.project |