Skip to content

Commit d08a4b1

Browse files
committed
chore(event): comment invalid event
1 parent 4deaac6 commit d08a4b1

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

lua/core/event.lua

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -98,11 +98,11 @@ function autocmd.load_autocmds()
9898
{ "BufWritePre", "*.tmp", "setlocal noundofile" },
9999
{ "BufWritePre", "*.bak", "setlocal noundofile" },
100100
-- auto place to last edit
101-
{
102-
"BufReadPost",
103-
"*",
104-
[[if line("'\"") > 1 && line("'\"") <= line("$") | execute "normal! g'\"" | endif]],
105-
},
101+
-- {
102+
-- "BufReadPost",
103+
-- "*",
104+
-- [[if line("'\"") > 1 && line("'\"") <= line("$") | execute "normal! g'\"" | endif]],
105+
-- },
106106
-- auto change directory
107107
-- { "BufEnter", "*", "silent! lcd %:p:h" },
108108
},

0 commit comments

Comments
 (0)