diff options
author | Squibid <me@zacharyscheiman.com> | 2023-10-22 18:49:49 -0400 |
---|---|---|
committer | Squibid <me@zacharyscheiman.com> | 2023-10-22 18:49:49 -0400 |
commit | 274091478134d56aa61c60373215f475651188bb (patch) | |
tree | ee63f6950379e0b67d789189dd7f80771739f3cc /lua/core/auto.lua | |
parent | fb93992c3fb6bce50ff26a0a4214a17952e3fe89 (diff) | |
download | nvim-274091478134d56aa61c60373215f475651188bb.tar.gz nvim-274091478134d56aa61c60373215f475651188bb.tar.bz2 nvim-274091478134d56aa61c60373215f475651188bb.zip |
set spell when entering commit, and use ftplugin instead of autocmds
Diffstat (limited to '')
-rw-r--r-- | lua/core/auto.lua | 7 |
1 files changed, 0 insertions, 7 deletions
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("'\""))]], |