autoclose-html
autoclose-html copied to clipboard
Close tags when user types </
#143.
but I don't know which one is better for key mapping, '/' or '< /'
I would have a separate command and function for this, if nothing else for organizational purposes.
Other than that I'll run it through some testing and let you know what I find
Thank you for looking into this.
so, should I add an option that enables / disables this function?
I would definitely add an option for this.
As far as checking for "/" or "</" I think just "/" would be better, for example I could type "<", go elsewhere in the document and do stuff then come back and type "/". Also you're already checking that the character before the "/" is "<" in the function that executes
Thanks! I appreciate it.
I've just committed my changes and I left keymaps as it is.