("gitconfig", "gitconfig"), ("vimrc", "vim"),
)
-mc_file_types = (("mc.ext", "conf"), ("menu", "conf"))
+mc_file_types = (("mc.ext", "conf"), ("mc.ext.i", "conf"), ("menu", "conf"))
python_file_types = (
("init.py", "python"),
text = re.sub('cgmem_nice \\d+ ', '', text)
- if fname in ('mailcap', 'mc.ext', 'menu'):
+ if fname in ('mailcap', 'mc.ext', 'mc.ext.ini', 'menu'):
text = text.replace('mplay', 'mplayer')
text = text.replace('mplayerer', 'mplayer')
if fname == 'mailcap':
if not os.path.exists(fname):
continue
+ if fname == 'mc.ext.i' and not os.path.exists('mc.ext.ini'):
+ os.rename('mc.ext.i', 'mc.ext.ini')
+ if fname == 'mc.ext.i':
+ fname = 'mc.ext.ini'
+
process_dotfile(i, fname, ftype, file_types)
--- /dev/null
+<pre>
+<font color="#0000ff"># My *additions* to Midnight Commander 4 extension file
+#
+# Text version <a href="mc.ext.ini">here</a>
+#
+# Generated by <a href="../vimrc.html">gvim</a> :runtime syntax/2html.vim
+#</font>
+</pre>