telekasten syntax in previewers on auto_set_syntax

This commit is contained in:
Rene Schallner
2023-02-03 08:15:50 +01:00
parent d13b9421b7
commit a80db543eb

View File

@@ -2964,7 +2964,7 @@ local function Setup(cfg)
} }
-- for previewers to pick up our syntax, we need to tell plenary to override `.md` with our syntax -- for previewers to pick up our syntax, we need to tell plenary to override `.md` with our syntax
if M.Cfg.auto_set_filetype then if M.Cfg.auto_set_filetype or M.Cfg.auto_set_syntax then
filetype.add_file("telekasten") filetype.add_file("telekasten")
end end
-- setting the syntax moved into plugin/telekasten.vim -- setting the syntax moved into plugin/telekasten.vim