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