vim.opt.tabstop = 2 vim.opt.shiftwidth = 2 vim.opt.expandtab = true vim.opt.relativenumber = true vim.opt.number = true vim.opt.encoding = "utf-8" vim.opt.list = true vim.opt.listchars = { eol = '¬', tab = '>·', trail = '~', extends = '>', precedes = '<', space = '␣', } vim.api.nvim_create_autocmd("InsertLeave", { pattern = "*", command = "silent! write" })