set spell when entering commit, and use ftplugin instead of autocmds
This commit is contained in:
parent
fb93992c3f
commit
2740914781
3 changed files with 3 additions and 7 deletions
|
|
@ -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("'\""))]],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue