From d308a8eb375a0aa041c6018a6397ad94887c8fee Mon Sep 17 00:00:00 2001 From: Oscar Wallberg Date: Mon, 4 Sep 2023 16:00:52 +0200 Subject: [PATCH] Clean up autopairs --- lua/config/autopairs.lua | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) diff --git a/lua/config/autopairs.lua b/lua/config/autopairs.lua index 8a62b85..235042a 100644 --- a/lua/config/autopairs.lua +++ b/lua/config/autopairs.lua @@ -16,21 +16,4 @@ -- https://github.com/windwp/nvim-autopairs -require("nvim-autopairs").setup({ - disable_filetype = { "TelescopePrompt", }, - disable_in_macro = false, -- disable when recording or executing a macro - disable_in_visualblock = false, -- disable when insert after visual block mode - ignored_next_char = [=[[%w%%%'%[%"%.]]=], - enable_moveright = true, - enable_afterquote = true, -- add bracket pairs after quote - enable_check_bracket_line = true, --- check bracket in same line - enable_bracket_in_quote = true, -- - enable_abbr = false, -- trigger abbreviation - break_undo = true, -- switch for basic rule break undo sequence - check_ts = false, - map_cr = true, - map_bs = true, -- map the key - map_c_h = false, -- Map the key to delete a pair - map_c_w = false, -- map to delete a pair if possible -}) --- cmp_autopairs.lisp[#cmp_autopairs.lisp+1] = "racket" +require("nvim-autopairs").setup()