Dont set the filetype in the default config file modeline

This enables people using custom syntax highlighting such as
https://github.com/fladson/vim-kitty
This commit is contained in:
Kovid Goyal 2021-06-30 15:36:33 +05:30
parent 222055fcff
commit ab76ae3778
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -463,7 +463,7 @@ class Group:
a(render_block(self.start_text)) a(render_block(self.start_text))
a('') a('')
else: else:
ans.extend(('# vim:fileencoding=utf-8:ft=conf:foldmethod=marker', '')) ans.extend(('# vim:fileencoding=utf-8:foldmethod=marker', ''))
for item in self.iter_with_coalesced_options(): for item in self.iter_with_coalesced_options():
if isinstance(item, Option): if isinstance(item, Option):