markdown: set spell check automatically
This commit is contained in:
parent
60bbddef35
commit
92a1a1753a
1 changed files with 1 additions and 0 deletions
1
init.lua
1
init.lua
|
|
@ -169,6 +169,7 @@ vim.api.nvim_create_autocmd({ "FileType" }, {
|
||||||
pattern = "markdown",
|
pattern = "markdown",
|
||||||
callback = function()
|
callback = function()
|
||||||
vim.opt_local.textwidth = 85
|
vim.opt_local.textwidth = 85
|
||||||
|
vim.opt_local.spell = true
|
||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
-- YAML --
|
-- YAML --
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue