summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSquibid <me@zacharyscheiman.com>2024-03-09 00:17:59 -0500
committerSquibid <me@zacharyscheiman.com>2024-03-09 00:17:59 -0500
commit2f386b1f2b19416821d3ba9c1be56a6f00ffac45 (patch)
tree401f91fd0845879852d66bfc460f99e0c8edc840
parent3880151724fcc01413f07a246da05d5bf67d71d7 (diff)
downloadnvim-2f386b1f2b19416821d3ba9c1be56a6f00ffac45.tar.gz
nvim-2f386b1f2b19416821d3ba9c1be56a6f00ffac45.tar.bz2
nvim-2f386b1f2b19416821d3ba9c1be56a6f00ffac45.zip
add ignored chars to autopairs
Diffstat (limited to '')
-rw-r--r--after/plugin/autopairs.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/after/plugin/autopairs.lua b/after/plugin/autopairs.lua
index 4a5e138..64c379d 100644
--- a/after/plugin/autopairs.lua
+++ b/after/plugin/autopairs.lua
@@ -3,4 +3,6 @@ if not status_ok then
return
end
-autopairs.setup {}
+autopairs.setup {
+ ignored_next_char = string.gsub("!@#$%^&*()_+", "%s+", "")
+}