Something went wrong. Try again.
my neovim config
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990vim.g.loaded_perl_provider = 0vim.g.loaded_python3_provider = 0vim.g.loaded_ruby_provider = 0vim.g.node_host_prog = vim.fn.exepath("neovim-node-host")vim.g.mapleader = " "vim.g.maplocalleader = "\\"vim.loader.enable(true)
local opt = vim.optlocal o = vim.o
-- uio.cmdheight = 0o.number = trueo.relativenumber = trueo.breakindent = trueo.showmode = falseo.cursorline = trueo.list = true
opt.fillchars = { foldopen = "", foldclose = "", fold = " ", foldsep = " ", diff = "╱", eob = " ",}
-- o.foldtext = ""-- opt.formatoptions = "jcroqlnt" -- tcqj
o.updatetime = 300
o.iskeyword = "@,48-57,_,192-255,-" -- Treat dash as `word` textobject part
-- builtin completiono.complete = ".,w,b,kspell" -- Use less sourceso.completeopt = "menuone,noselect,fuzzy,nosort" -- Use custom behavior
-- searcho.ignorecase = true
-- termo.shell = "fish"
-- typingo.expandtab = trueo.tabstop = 2 -- Number of spaces tabs count foro.shiftwidth = 2
-- window manageo.splitright = trueo.splitbelow = true
-- editingo.autowrite = true-- o.clipboard = vim.env.SSH_TTY and "" or "unnamedplus" -- Sync with system clipboard
-- completiono.completeopt = "menu,menuone"-- o.wildmode = "longest:full,full" -- Command-line completion modevim.cmd([[set wildmode=noselect:lastused,full]])
-- undoo.undofile = trueo.undolevels = 10000o.updatetime = 200 -- Save swap file and trigger CursorHold
o.formatoptions = "jcroqlnt" -- Format options
-- writingo.spelllang = "en,cjk"o.spellfile = vim.fs.joinpath(vim.fn.stdpath("config"), "spell", "en.utf-8.add")vim.g.spell_aff = vim.fs.joinpath(vim.fn.stdpath("config"), "spell", "en.utf-8.aff")
vim.cmd([[set completeopt+=menuone,noselect,popup]])
vim.diagnostic.config({ virtual_lines = true, virtual_text = true, signs = { text = { [vim.diagnostic.severity.ERROR] = " ", [vim.diagnostic.severity.WARN] = " ", [vim.diagnostic.severity.INFO] = " ", }, },})