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 --- lua/core/auto.lua | 7 ------- 1 file changed, 7 deletions(-) (limited to 'lua/core/auto.lua') diff --git a/lua/core/auto.lua b/lua/core/auto.lua index 4c50357..170f2d7 100644 --- a/lua/core/auto.lua +++ b/lua/core/auto.lua @@ -13,13 +13,6 @@ auto('TextYankPost', { -- highlight yanks end }) -auto('FileType', { -- start git messages in insert mode - group = 'bufcheck', - pattern = { 'gitcommit', 'gitrebase', }, - desc = 'Start git messages in insert mode.', - command = 'startinsert | 1' -}) - auto('BufRead', { -- return to last place pattern = '*', command = [[call setpos(".", getpos("'\""))]], -- cgit v1.2.1