From 274091478134d56aa61c60373215f475651188bb Mon Sep 17 00:00:00 2001 From: Squibid Date: Sun, 22 Oct 2023 18:49:49 -0400 Subject: set spell when entering commit, and use ftplugin instead of autocmds --- after/ftplugin/gitcommit.lua | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 after/ftplugin/gitcommit.lua (limited to 'after/ftplugin/gitcommit.lua') diff --git a/after/ftplugin/gitcommit.lua b/after/ftplugin/gitcommit.lua new file mode 100644 index 0000000..8207d63 --- /dev/null +++ b/after/ftplugin/gitcommit.lua @@ -0,0 +1,2 @@ +vim.cmd('set spell!') +vim.cmd('startinsert | 1') -- cgit v1.2.1