1
0
mirror of https://github.com/jdhao/nvim-config.git synced 2025-06-08 14:14:33 +02:00

update zen-mode.nvim settings

FileType autocmd may be triggered unexpectedly so that ZenMode command
is called at the wrong time.
This commit is contained in:
jdhao 2021-09-01 01:32:46 +08:00
parent f74ed11034
commit 83719b7827

View File

@ -13,11 +13,3 @@ require("zen-mode").setup({
},
},
})
-- start ZenMode automatically for Markdown
vim.cmd([[
augroup auto_zen
autocmd!
autocmd FileType Markdown ZenMode
augroup END
]])