diff --git a/init.lua b/init.lua index 561d19bf..ecae321b 100644 --- a/init.lua +++ b/init.lua @@ -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` diff --git a/spell/en.utf-8.add b/spell/en.utf-8.add index e237dfe1..18b217b5 100644 --- a/spell/en.utf-8.add +++ b/spell/en.utf-8.add @@ -91,3 +91,5 @@ analysisOfVariance sql datasource ClickHouse +Grafana +clickhouse diff --git a/spell/en.utf-8.add.spl b/spell/en.utf-8.add.spl index 95c32aca..494a825a 100644 Binary files a/spell/en.utf-8.add.spl and b/spell/en.utf-8.add.spl differ