fix(autocommand): activation condition for markdown
This commit is contained in:
parent
765e2d1a8b
commit
fc034ea90f
@ -3,7 +3,7 @@ local spelling = vim.api.nvim_create_augroup("spelling", { clear = true })
|
||||
local spell_keymap = require('spelling').spell_keymap
|
||||
|
||||
-- Recognize .md as pandoc
|
||||
vim.api.nvim_create_autocmd({ "BufNew" }, {
|
||||
vim.api.nvim_create_autocmd({ "BufNew", "VimEnter" }, {
|
||||
pattern = { "*.md", },
|
||||
group = markdown,
|
||||
callback = function()
|
||||
|
Loading…
x
Reference in New Issue
Block a user