Something went wrong. Try again.
Neovim config
Something went wrong. Try again.
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889local o = vim.opt
-- file handlingo.shada = "!,'15,<0,/0,:50,f0"o.hidden = trueo.confirm = trueo.autowrite = trueo.swapfile = falseo.backup = falseo.undofile = trueo.undodir = vim.fn.stdpath("state") .. "/undo"o.updatetime = 200
-- indention and foldso.autoindent = falseo.tabstop = 8o.softtabstop = 4o.shiftwidth = 4o.expandtab = trueo.wrap = falseo.breakindent = trueo.linebreak = trueo.backspace = "indent,eol,nostop"o.foldmethod = "marker"o.foldcolumn = "1"
-- editor preferenceo.timeoutlen = 500o.ttimeoutlen = 100o.number = trueo.relativenumber = trueo.numberwidth = 4o.ignorecase = falseo.smartcase = falseo.incsearch = trueo.inccommand = "split"o.hlsearch = falseo.scrolloff = 6o.sidescrolloff = 6o.list = trueo.listchars:append({ tab = "»·", nbsp = "+", trail = "·", extends = "", precedes = "" })o.virtualedit = "block"o.completeopt = { "menu", "menuone", "noselect", "noinsert", "popup" }o.shortmess:append({ I = true })o.exrc = true
o.ruler = falseo.showmode = trueo.cursorline = falseo.culopt = "both"o.showtabline = 1o.cmdheight = 1o.cmdwinheight = 10o.laststatus = 3o.winbar = " "o.signcolumn = "auto:1-4"o.pumheight = 20o.pumblend = 0o.winblend = 0o.splitkeep = "screen"o.splitbelow = true-- o.splitright = trueo.fillchars:append({ eob = " ", diff = "╱", horiz = "━", horizup = "┻", horizdown = "┳", vert = "┃", vertleft = "┨", vertright = "┣", verthoriz = "╋", foldopen = "", foldclose = "",})
o.dictionary:append(vim.fn.stdpath("config") .. "/dict/eng.txt")o.thesaurus:append(vim.fn.stdpath("config") .. "/dict/thesaurus.txt")o.spelllang = "en_us"o.spellsuggest = { "best", 5 }o.grepprg = "rg -uu --hidden --vimgrep --smart-case --"o.dip:append("algorithm:minimal")o.clipboard = ""o.mouse = "nv" -- nervous laughtero.termguicolors = true-- o.guicursor:append("n-v-c:blinkon500-blinkoff500")
vim.g.editorconfig = true