diff options
-rw-r--r-- | pairs.lua | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -328,8 +328,14 @@ vis.events.subscribe(vis.events.INIT, function() local function any_pair(set, default) return {l.Cg(l.S(set), "s"), l.Cmt(l.Cb("s") * l.C(1), function(_, _, c1, c2) return builtin_textobjects[c1][2] == c2 end), builtin_textobjects[default]} end local any_bracket = any_pair("({[", "(") local presets = { - html = {t = html_tag}, + {t = xml_tag}, xml = {t = xml_tag}, + html = {t = html_tag}, + markdown = {t = html_tag}, + asp = {t = html_tag}, + jsp = {t = html_tag}, + php = {t = html_tag}, + rhtml = {t = html_tag}, scheme = {b = any_bracket}, lisp = {b = any_bracket}, clojure = {b = any_bracket}, |