-- TODO: add comments and separate files.
vim.opt.number = true
vim.opt.wildmode = 'longest,list'
-- vim.opt.completeopt = 'menuone,noselect'
vim.opt.cursorline = true
vim.opt.ttyfast = true
vim.opt.splitright = true
vim.opt.splitbelow = true
vim.opt.clipboard = 'unnamedplus'
vim.opt.fixeol = false
vim.opt.termguicolors = true
vim.cmd("autocmd BufEnter * set fo-=c fo-=r fo-=o")
vim.cmd("set mouse=") -- disable mouse.
-- disable signs for diagnostics.
vim.diagnostic.config({ signs = false })