diff options
author | Kris Maglione <maglione.k@gmail.com> | 2012-11-28 20:24:44 -0800 |
---|---|---|
committer | Kris Maglione <maglione.k@gmail.com> | 2012-11-28 20:24:44 -0800 |
commit | 276956284eb49d89592821bf2dbcee41852a1aae (patch) | |
tree | 4e277e99f89e7fabd2dbb3a9101623d90c7aadb6 /common/modules/io.jsm | |
parent | 23b6c07666ed6b21699ac76675d5ea0e73b2331f (diff) | |
download | pentadactyl-276956284eb49d89592821bf2dbcee41852a1aae.tar.gz |
Death to E4X and stuff.
Diffstat (limited to 'common/modules/io.jsm')
-rw-r--r-- | common/modules/io.jsm | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/common/modules/io.jsm b/common/modules/io.jsm index 744c0de4..5095b520 100644 --- a/common/modules/io.jsm +++ b/common/modules/io.jsm @@ -676,13 +676,13 @@ var IO = Module("io", { } rtItems.ftdetect.template = // {{{ -<![CDATA[" Vim filetype detection file +literal(/*" Vim filetype detection file <header> au BufNewFile,BufRead *<name>rc*,*.<fileext> set filetype=<name> -]]>;//}}} +*/);//}}} rtItems.ftplugin.template = // {{{ -<![CDATA[" Vim filetype plugin file +literal(/*" Vim filetype plugin file <header> if exists("b:did_ftplugin") @@ -707,9 +707,9 @@ endif let &cpo = s:cpo_save unlet s:cpo_save -]]>;//}}} +*/);//}}} rtItems.syntax.template = // {{{ -<![CDATA[" Vim syntax file +literal(/*" Vim syntax file <header> if exists("b:current_syntax") @@ -788,7 +788,7 @@ let &cpo = s:cpo_save unlet s:cpo_save " vim: tw=130 et ts=8 sts=4 sw=4: -]]>;//}}} +*/);//}}} const { options } = modules; @@ -1041,7 +1041,7 @@ unlet s:cpo_save }; completion.addUrlCompleter("file", "Local files", function (context, full) { - let match = util.regexp(<![CDATA[ + let match = util.regexp(literal(/* ^ (?P<prefix> (?P<proto> @@ -1052,7 +1052,7 @@ unlet s:cpo_save ) (?P<path> \/[^\/]* )? $ - ]]>, "x").exec(context.filter); + */), "x").exec(context.filter); if (match) { if (!match.path) { context.key = match.proto; |