Enable spellcheck for some files (nvim)

This commit is contained in:
tarneo 2023-06-16 16:19:39 +02:00
parent 31f72aecf2
commit da4a67b271
Signed by: tarneo
GPG Key ID: A75C88FF5172158E
1 changed files with 3 additions and 0 deletions

View File

@ -350,3 +350,6 @@ vim.opt.linebreak = true
-- Bind S to replace every occurence (normal mode)
vim.cmd [[map S :%s//g<Left><Left>]]
-- Enable spellcheck in markdown and orgmode
vim.cmd [[ au FileType markdown,org setlocal spell ]]