Something went wrong. Try again.
Something went wrong. Try again.
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950vim.g.mapleader = " "vim.g.maplocalleader = " "
local opt = vim.opt
opt.number = trueopt.tabstop = 4opt.expandtab = trueopt.shiftwidth = 4opt.softtabstop = 4opt.scrolloff = 200opt.autoindent = trueopt.smarttab = trueopt.incsearch = trueopt.showmatch = trueopt.hlsearch = falseopt.matchtime = 5opt.wrap = falseopt.ignorecase = trueopt.backup = falseopt.writebackup = falseopt.updatetime = 50opt.undodir = vim.fn.expand("~/.vim/undodir")opt.undofile = trueopt.mouse = ""opt.encoding = "UTF-8"opt.fileencodings = { "ucs-bom", "utf-8", "utf-16", "gbk", "big5", "gb18030", "latin1" }opt.cmdheight = 0opt.clipboard:append("unnamedplus")opt.termguicolors = trueopt.winblend = 0opt.wildoptions = "pum"opt.pumblend = 5opt.background = "dark"
vim.cmd.syntax("enable")
vim.g.tex_flavor = "latex"vim.g.vimtex_quickfix_mode = 1
vim.api.nvim_create_autocmd("ColorScheme", { callback = function() vim.api.nvim_set_hl(0, "Normal", { ctermbg = 256 }) vim.api.nvim_set_hl(0, "LineNr", {}) end,})
vim.api.nvim_set_hl(0, "Normal", { ctermbg = 256 })vim.api.nvim_set_hl(0, "LineNr", {})