This commit is contained in:
Fabrice Mouhartem 2023-05-14 14:25:41 +02:00
parent 05ea1ce573
commit 0f3d1f8cc0

View File

@ -332,7 +332,7 @@ mise en forme il est possible de définir dans `$VIMHOME/plugin/blog.lua`:
local blog_group = vim.api.nvim_create_augroup('blog', { clear = true }) local blog_group = vim.api.nvim_create_augroup('blog', { clear = true })
vim.api.nvim_create_autocmd({"BufEnter", "BufWinEnter"}, { vim.api.nvim_create_autocmd({"BufEnter", "BufWinEnter"}, {
pattern = {vim.fn.expand("~") .. "/dev/blog/**/*.md"}, pattern = {vim.fn.expand("~") .. "/chemin/vers/blog/**/*.md"},
group = blog_group, group = blog_group,
callback = function() callback = function()
vim.o.filetype = 'pandoc' vim.o.filetype = 'pandoc'