about summary refs log tree commit diff
path: root/fnl/nvrc
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2023-09-03 15:32:42 +0900
committersefidel <contact@sefidel.net>2023-09-03 15:32:42 +0900
commite7d25c121c44006e798892041425c8ca940285e1 (patch)
tree7da84c6cbe9c013347e3eef4782e742149d79360 /fnl/nvrc
parent3453b80d44ecd80f838cb12592ac78ff36a3508e (diff)
downloadnvimrc-e7d25c121c44006e798892041425c8ca940285e1.tar.gz
nvimrc-e7d25c121c44006e798892041425c8ca940285e1.zip
feat(packs/autopairs): enable treesitter
Diffstat (limited to 'fnl/nvrc')
-rw-r--r--fnl/nvrc/pack.fnl2
-rw-r--r--fnl/nvrc/packs/autopairs.fnl3
2 files changed, 4 insertions, 1 deletions
diff --git a/fnl/nvrc/pack.fnl b/fnl/nvrc/pack.fnl
index 7195526..c186a64 100644
--- a/fnl/nvrc/pack.fnl
+++ b/fnl/nvrc/pack.fnl
@@ -34,6 +34,6 @@
 (pack! :numToStr/Comment.nvim {:module :Comment :init :Comment})
 (pack! :ibhagwan/fzf-lua {:req :fzf :module :fzf-lua})
 (pack! :ggandor/leap.nvim {:req :leap})
-(pack! :windwp/nvim-autopairs {:init :nvim-autopairs})
+(pack! :windwp/nvim-autopairs {:req :autopairs})
 
 (unpack!)
diff --git a/fnl/nvrc/packs/autopairs.fnl b/fnl/nvrc/packs/autopairs.fnl
new file mode 100644
index 0000000..77749c8
--- /dev/null
+++ b/fnl/nvrc/packs/autopairs.fnl
@@ -0,0 +1,3 @@
+(local {: setup} (require :nvim-autopairs))
+
+(setup {:check_ts true})