core|options: Add formatoptions in options | Remove unnecessary autocmd

This commit is contained in:
Akianonymus
2022-08-21 15:06:09 +05:30
committed by Sidhanth Rathod
parent 9021289421
commit fe9a7b1651
2 changed files with 3 additions and 6 deletions

View File

@@ -42,12 +42,6 @@ autocmd("BufUnload", {
end,
})
-- Don't auto commenting new lines
autocmd("BufEnter", {
pattern = "*",
command = "set fo-=c fo-=r fo-=o",
})
-- store listed buffers in tab local var
vim.t.bufs = vim.api.nvim_list_bufs()