enable spell check in markdown

This commit is contained in:
DanRoscigno 2022-12-25 11:54:59 -05:00
parent 8f2fcd3739
commit 611ced2fd7
3 changed files with 9 additions and 0 deletions

View File

@ -92,6 +92,13 @@ vim.api.nvim_create_autocmd('BufWritePost', {
pattern = vim.fn.expand '$MYVIMRC',
})
vim.api.nvim_create_augroup("spellcheck", { clear = true })
vim.api.nvim_create_autocmd("FileType", {
group = "spellcheck",
pattern = { "gitcommit", "markdown", "mdx" },
command = "setlocal spell",
})
-- [[ Setting options ]]
-- See `:help vim.o`

View File

@ -91,3 +91,5 @@ analysisOfVariance
sql
datasource
ClickHouse
Grafana
clickhouse

Binary file not shown.