vim.o.title = true vim.opt.fillchars = { msgsep ="‾", vert="┋" } vim.o.autoindent = true vim.o.expandtab = true vim.o.shiftwidth = 4 vim.o.tabstop = 4 vim.o.cinoptions = "l1,:0,g0,E-s,N-s,t0,(s,J1,j1" vim.o.virtualedit = "block" vim.o.splitright = true vim.o.splitbelow = true vim.o.linebreak = true vim.o.wrap = true vim.o.smoothscroll = true vim.o.swapfile = false vim.o.undofile = true vim.o.shada = "!,'100,<50,s10,:1000,/100,@100,h,r/tmp/,rterm:,rhealth:" vim.o.foldlevelstart = 99 vim.o.foldtext = "" vim.o.ignorecase = true vim.o.smartcase = true vim.o.incsearch = true vim.o.inccommand = "split" vim.o.completeopt = "menu,menuone,noselect,fuzzy" vim.o.pumheight = 10 vim.o.pummaxwidth = 50 vim.o.wildmode = "longest:full,full" vim.o.wildoptions = "pum,fuzzy" vim.opt.wildignore:append({ "*.pyc", "__pycache__", "*~", "#*#", "*.o" }) vim.o.spelllang = "en_us,en-academic" vim.o.spelloptions = "camel" vim.opt.complete:append("kspell") vim.o.signcolumn = "no" vim.o.number = true vim.o.cursorline = true vim.g.tex_flavor = "latex" vim.g.tex_no_error = 1 vim.g.tex_comment_nospell = 1 vim.opt.tags:append({ "tags;~", ".tags;~" }) vim.o.laststatus = 1 vim.o.statusline = "%<%f %h%w%m%r %=%{% &showcmdloc == 'statusline' ? '%-10.S ' : '' %}%{% exists('b:keymap_name') ? '<'..b:keymap_name..'> ' : '' %}%{% &busy > 0 ? '◐ ' : '' %}%{% luaeval('(package.loaded[''vim.diagnostic''] and #vim.diagnostic.count() ~= 0 and vim.diagnostic.status() .. '' '') or '''' ') %}%{% v:lua.require'mo.statusline'.lsp_status() %}%{% &ruler ? ( &rulerformat == '' ? '%-14.(%l,%c%V%) %P' : &rulerformat ) : '' %}"