From 1200d06efca58788b129ab3d6deb84811df21767 Mon Sep 17 00:00:00 2001 From: Steven Proctor Date: Thu, 29 Jun 2023 15:26:27 -0500 Subject: [PATCH] neovim - paredit support in other languages --- nvim/.config/nvim/fnl/dotfiles/plugin/paredit.fnl | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/nvim/.config/nvim/fnl/dotfiles/plugin/paredit.fnl b/nvim/.config/nvim/fnl/dotfiles/plugin/paredit.fnl index 77dff9b..1228ad3 100644 --- a/nvim/.config/nvim/fnl/dotfiles/plugin/paredit.fnl +++ b/nvim/.config/nvim/fnl/dotfiles/plugin/paredit.fnl @@ -60,6 +60,11 @@ (set nvim.g.paredit_mode)) (nvim.fn.PareditInitBuffer)))) + +(nvim.ex.autocmd :FileType :ruby :call "PareditInitBalancingAllBracketsBuffer()") +(nvim.ex.autocmd :FileType :javascript :call "PareditInitBalancingAllBracketsBuffer()") +(nvim.ex.autocmd :FileType :terraform :call "PareditInitBalancingAllBracketsBuffer()") + ; (nvim.del_augroup_by_name "BabeliteParedit") ; (nvim.get_autocmds {:group "BabeliteParedit"})