local opt = vim.opt -- inspired from https://github.com/brainfucksec/neovim-lua/blob/main/nvim/lua/core/options.lua -- general opt.swapfile = false opt.clipboard = "unnamedplus" opt.undofile = true opt.completeopt = "menuone,noinsert,noselect" -- neovim ui opt.number = false opt.relativenumber = true opt.smartcase = true opt.linebreak = true opt.ignorecase = true opt.guicursor = "" -- opt.laststatus = 3 opt.background = "dark" -- tabs indents opt.expandtab = true opt.smartindent = true opt.tabstop = 4 opt.softtabstop = 4 opt.shiftwidth = 4 -- others opt.hlsearch = false opt.incsearch = true opt.wrap = false opt.nu = true