From ab76ae3778fb37a80b52fd68a80735c338d0b347 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Wed, 30 Jun 2021 15:36:33 +0530 Subject: [PATCH] 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 --- kitty/conf/types.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kitty/conf/types.py b/kitty/conf/types.py index dbbce825e..0645f6996 100644 --- a/kitty/conf/types.py +++ b/kitty/conf/types.py @@ -463,7 +463,7 @@ class Group: a(render_block(self.start_text)) a('') 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(): if isinstance(item, Option):