summaryrefslogtreecommitdiff
path: root/nvim
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2024-02-26 21:05:41 +0100
committerxengineering <me@xengineering.eu>2024-02-26 21:05:41 +0100
commit9ec159b63210ac82c263d7df01a987d50d4a0b53 (patch)
treebe695deb1fb69f235c1d1e6938da7e12d7eb1446 /nvim
parentf12ddec8de3b2f85dab6ff9fa7a5d48119674c2b (diff)
downloaddotfiles-9ec159b63210ac82c263d7df01a987d50d4a0b53.tar
dotfiles-9ec159b63210ac82c263d7df01a987d50d4a0b53.tar.zst
dotfiles-9ec159b63210ac82c263d7df01a987d50d4a0b53.zip
nvim: Enable spell checking by default
Diffstat (limited to 'nvim')
-rw-r--r--nvim/init.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/nvim/init.lua b/nvim/init.lua
index a8bf90d..2f1179f 100644
--- a/nvim/init.lua
+++ b/nvim/init.lua
@@ -13,6 +13,7 @@ vim.opt.encoding = 'utf-8'
vim.opt.fileencodings = {'utf-8'}
vim.opt.list = true
vim.opt.listchars = {tab = '→ ', nbsp = '␣', trail = '•'}
+vim.opt.spell = true
vim.keymap.set('n', '<Tab>', ':tabn <LF>')
vim.keymap.set('n', '<S-Tab>', ':tabp <LF>')