From e8cbb711e39eb8c83cbea13e754a9331b6f83fc0 Mon Sep 17 00:00:00 2001 From: Renken Date: Mon, 19 Aug 2024 15:36:06 +0200 Subject: [PATCH] fix: enable spelling by default --- init.lua | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/init.lua b/init.lua index c42caa1..b7f0bbd 100644 --- a/init.lua +++ b/init.lua @@ -109,6 +109,15 @@ vim.opt.number = true -- Disable mouse mode. vim.opt.mouse = '' +-- Enable spelling. +-- It's better to stick to default spelling shortcuts IMO. +-- `]s` go to next misspelled word. +-- `[s` go to previous misspelled word. +-- `z=` show suggestions list. +-- `zg` mark word as spelled correctly. +vim.opt.spelllang = 'en_us' +vim.opt.spell = true + -- Don't show the mode, since it's already in the status line vim.opt.showmode = false