diff --git a/plugin/23_editor.lua b/plugin/23_editor.lua index 5d8af11..d4669d8 100644 --- a/plugin/23_editor.lua +++ b/plugin/23_editor.lua @@ -317,12 +317,13 @@ later(function() local gen_loader = snippets.gen_loader local lang_patterns = { markdown_inline = { "quarto.json" }, + markdown = { "quarto.json" }, } snippets.setup({ snippets = { -- Load custom file with global snippets first (adjust for Windows) - gen_loader.from_file(vim.fn.stdpath('config') .. "/snippets/global.json"), - gen_loader.from_file("../snippets/quarto.json"), + -- gen_loader.from_file(vim.fn.stdpath('config') .. "/snippets/global.json"), + -- gen_loader.from_file("../snippets/quarto.json"), -- Load snippets based on current language by reading files from -- "snippets/" subdirectories from 'runtimepath' directories.