Closed tkf closed 8 years ago
I agree. I've mostly hardcoded it because I haven't thought about the modes where ' can be used :/ I hope the fix won't be very difficult.
But this is a lower-priority task for now, since during the exams I can only get to coding like one day a week. After the term is over I plan to do a bit of a refactoring (a lot actually), so other people can read the code and understand it, it will help with contributions :D This is actually my first project ever in elisp, so you can tell the older functions are quite a mess sometimes.
This has now been added to version 1.8.
Currently it is hard-coded and only supports double quote. How about adding a configurable
sp-autoescape-string-quotes
which hold a list of pairs, like this:It's always buffer local, so user can configure it in mode hook:
When it is added, we can remove
sp-autoescape-string-quote
(singular) because its redundant.