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:
parent
f74ed11034
commit
83719b7827
@ -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
|
|
||||||
]])
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user