use wordcounter in prose mode
This commit is contained in:
parent
8b461f9078
commit
275a9e9d94
|
@ -6,6 +6,7 @@ vim.api.nvim_create_autocmd({ "Bufenter" }, {
|
|||
callback = function()
|
||||
if vim.bo.buftype ~= "nofile" and vim.bo.filetype == "markdown" then
|
||||
vim.cmd("PencilSoft")
|
||||
require("section-wordcount").wordcounter({})
|
||||
setProseModeVars(true)
|
||||
else
|
||||
vim.cmd("PencilOff")
|
||||
|
|
Loading…
Reference in New Issue