comparison .chezmoitemplates/init.lua @ 696:22efd3b888f8

feat: enable spellchecking for select filetypes using spellsitter to only check comments
author zegervdv <zegervdv@me.com>
date Sun, 09 Oct 2022 10:51:43 +0200
parents 989cedcc0a38
children fb751a7650e9
comparison
equal deleted inserted replaced
695:83b479436409 696:22efd3b888f8
992 end 992 end
993 993
994 -- Remove netrw buffers 994 -- Remove netrw buffers
995 au.FileType = { 'netrw', 'setlocal bufhidden=delete' } 995 au.FileType = { 'netrw', 'setlocal bufhidden=delete' }
996 996
997 -- Enable spelling
998 au.FileType = { { 'python', 'systemverilog', 'verilog', 'txt', 'lua' }, function() vim.opt_local.spell = true end }
999
997 -- Terminal 1000 -- Terminal
998 au.group('enter_term', { 1001 au.group('enter_term', {
999 { 'TermOpen', '*', 'startinsert!' }, 1002 { 'TermOpen', '*', 'startinsert!' },
1000 { 1003 {
1001 'BufEnter', 1004 'BufEnter',