spellcheck still does not work but i tried
This commit is contained in:
parent
e225a002b0
commit
60fb779958
|
@ -44,6 +44,20 @@ vim.api.nvim_create_autocmd('FileType', {
|
|||
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
|
||||
vim.api.nvim_create_autocmd('FileType', {
|
||||
group = augroup,
|
||||
|
|
Loading…
Reference in New Issue