Add rational behind disabling single quote autoclosing
This commit is contained in:
@ -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 = "''" },
|
||||
},
|
||||
})
|
||||
|
Reference in New Issue
Block a user