Add rational behind disabling single quote autoclosing

This commit is contained in:
2025-05-05 17:16:10 -07:00
parent 01a3d26fe4
commit 24bf025e9e
2 changed files with 7 additions and 2 deletions

View File

@ -4,6 +4,11 @@ return {
config = function()
require("autoclose").setup({
keys = {
--[[**
* Here I'm removing the single quote "tick" character from autoclose
* because I almost never use single quotes for string literals, but
* I often use them as apostrophes (which should not be autoclosed).
*]]
["'"] = { escape = false, close = false, pair = "''" },
},
})