fixed error by deleting autocmd group
This commit is contained in:
parent
9387b20b76
commit
275cfb4639
1 changed files with 0 additions and 1 deletions
|
|
@ -33,7 +33,6 @@ vim.opt.updatetime = 500
|
||||||
vim.opt.colorcolumn = '80'
|
vim.opt.colorcolumn = '80'
|
||||||
|
|
||||||
vim.api.nvim_create_autocmd('BufReadPost', {
|
vim.api.nvim_create_autocmd('BufReadPost', {
|
||||||
group = vim.g.user.event,
|
|
||||||
callback = function(args)
|
callback = function(args)
|
||||||
local valid_line = vim.fn.line([['"]]) >= 1 and vim.fn.line([['"]]) < vim.fn.line('$')
|
local valid_line = vim.fn.line([['"]]) >= 1 and vim.fn.line([['"]]) < vim.fn.line('$')
|
||||||
local not_commit = vim.b[args.buf].filetype ~= 'commit'
|
local not_commit = vim.b[args.buf].filetype ~= 'commit'
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue