aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/home/.config
diff options
context:
space:
mode:
Diffstat (limited to 'home/.config')
-rw-r--r--home/.config/nvim/after/ftplugin/gitcommit.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/home/.config/nvim/after/ftplugin/gitcommit.lua b/home/.config/nvim/after/ftplugin/gitcommit.lua
index 9095ee4..e670035 100644
--- a/home/.config/nvim/after/ftplugin/gitcommit.lua
+++ b/home/.config/nvim/after/ftplugin/gitcommit.lua
@@ -1,3 +1,3 @@
vim.wo.spell = true
-vim.b.undo_ftplugin = vim.b.undo_ftplugin .. "|setlocal spell<"
+vim.b.undo_ftplugin = (vim.b.undo_ftplugin or "") .. "|setlocal spell<"
vim.cmd([[match ErrorMsg /\%1l.\%>50v/]])