mirror of
https://github.com/Ascyii/telekasten.nvim.git
synced 2026-01-01 06:14:23 -05:00
telekasten syntax in previewers on auto_set_syntax
This commit is contained in:
@@ -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
|
||||
if M.Cfg.auto_set_filetype then
|
||||
if M.Cfg.auto_set_filetype or M.Cfg.auto_set_syntax then
|
||||
filetype.add_file("telekasten")
|
||||
end
|
||||
-- setting the syntax moved into plugin/telekasten.vim
|
||||
|
||||
Reference in New Issue
Block a user