From 563f568bd028a9024b85a5457e36a6e244b810d6 Mon Sep 17 00:00:00 2001 From: Simo Soini Date: Tue, 17 Jun 2025 11:28:37 +0300 Subject: [PATCH] Add more filetypes for some autopairs --- lua/kickstart/plugins/autopairs.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lua/kickstart/plugins/autopairs.lua b/lua/kickstart/plugins/autopairs.lua index a4772591..bbdbd3fe 100644 --- a/lua/kickstart/plugins/autopairs.lua +++ b/lua/kickstart/plugins/autopairs.lua @@ -25,8 +25,8 @@ return { end)) end - rule2('{', '%', '}', 'html') - rule2('{%', ' ', '%}', 'html') + rule2('{', '%', '}', { 'html', 'htmldjango', 'jinja' }) + rule2('{%', ' ', '%}', { 'html', 'htmldjango', 'jinja' }) rule2('{', ':', '}', 'norg') rule2('(', ' ', ')') rule2('[', ' ', ']')