# HG changeset patch # User zegervdv # Date 1665305503 -7200 # Node ID 22efd3b888f8f221d0938bb2701ad269cb5b2d2f # Parent 83b47943640995acdfaf24267298af2fc1bf5c9b feat: enable spellchecking for select filetypes using spellsitter to only check comments diff -r 83b479436409 -r 22efd3b888f8 .chezmoitemplates/init.lua --- a/.chezmoitemplates/init.lua Sun Oct 09 10:51:00 2022 +0200 +++ b/.chezmoitemplates/init.lua Sun Oct 09 10:51:43 2022 +0200 @@ -994,6 +994,9 @@ -- Remove netrw buffers au.FileType = { 'netrw', 'setlocal bufhidden=delete' } +-- Enable spelling +au.FileType = { { 'python', 'systemverilog', 'verilog', 'txt', 'lua' }, function() vim.opt_local.spell = true end } + -- Terminal au.group('enter_term', { { 'TermOpen', '*', 'startinsert!' },