summaryrefslogtreecommitdiff
path: root/fnl/config/autopairs.fnl
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2022-05-01 23:06:03 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2022-05-01 23:06:03 +0200
commitf845a7b0588559750b1cb7eede1b3aecb450cdfe (patch)
tree1c2028e77ef60fb5a00e0abce46a0d4bf66d76d9 /fnl/config/autopairs.fnl
parent609daf2f632e907f0aed920084b51f608a63edf7 (diff)
style: fmt with fnlfmt
Diffstat (limited to 'fnl/config/autopairs.fnl')
-rw-r--r--fnl/config/autopairs.fnl37
1 files changed, 18 insertions, 19 deletions
diff --git a/fnl/config/autopairs.fnl b/fnl/config/autopairs.fnl
index 6e6e164..2b175fa 100644
--- a/fnl/config/autopairs.fnl
+++ b/fnl/config/autopairs.fnl
@@ -1,22 +1,21 @@
;; Autopairs for brackets and quote symbols.
-(module config.autopairs
- {autoload {util util}})
+(module config.autopairs {autoload {util util}})
(let [npairs (util.load-plugin :nvim-autopairs)]
- (npairs.setup
- {:check_ts true
- :ts_config {:lua [:string :source]
- :javascript [:string :template_string]
- :java false}
- :disable_filetype [:TelescopePrompt :spectre_panel]
- :fast_warp {:map :<M-e>
- :chars ["{" "[" "(" "\"" "'"]
- :pattern (string.gsub "[%'%\"%)%>%]%)%}%,]" "%s+" "")
- :check_comma true
- :highlight :PmenuSel
- :highlight_grey :LineNr
- :offset 0
- :end_key "$"
- :keys :qwertyuiopzxcvbnmasdfghjkl
- :highlight :PmenuSel
- :highlight_grey :LineNr}}))
+ (npairs.setup {:check_ts true
+ :ts_config {:lua [:string :source]
+ :javascript [:string :template_string]
+ :java false}
+ :disable_filetype [:TelescopePrompt :spectre_panel]
+ :fast_warp {:map :<M-e>
+ :chars ["{" "[" "(" "\"" "'"]
+ :pattern (string.gsub "[%'%\"%)%>%]%)%}%,]" "%s+"
+ "")
+ :check_comma true
+ :highlight :PmenuSel
+ :highlight_grey :LineNr
+ :offset 0
+ :end_key "$"
+ :keys :qwertyuiopzxcvbnmasdfghjkl
+ :highlight :PmenuSel
+ :highlight_grey :LineNr}}))