spellcheck still does not work but i tried

This commit is contained in:
Christoph J. Scherr 2024-07-16 12:30:29 +02:00
parent e225a002b0
commit 60fb779958
1 changed files with 14 additions and 0 deletions

View File

@ -44,6 +44,20 @@ vim.api.nvim_create_autocmd('FileType', {
end, end,
}) })
-- Enable spellcheck for some types
vim.api.nvim_create_autocmd('FileType', {
group = augroup,
pattern = {
'latex',
'markdown',
'plaintex',
'tex',
},
callback = function()
vim.cmd [[set spell]]
end,
})
-- disable auto formatting for some filetypes -- disable auto formatting for some filetypes
vim.api.nvim_create_autocmd('FileType', { vim.api.nvim_create_autocmd('FileType', {
group = augroup, group = augroup,