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 ++ after/ftplugin/gitrebase.lua | 1 + 2 files changed, 3 insertions(+) create mode 100644 after/ftplugin/gitcommit.lua create mode 120000 after/ftplugin/gitrebase.lua (limited to 'after') 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') diff --git a/after/ftplugin/gitrebase.lua b/after/ftplugin/gitrebase.lua new file mode 120000 index 0000000..9619e9a --- /dev/null +++ b/after/ftplugin/gitrebase.lua @@ -0,0 +1 @@ +gitcommit.lua \ No newline at end of file -- cgit v1.2.1