2022-07-09 13:10:31 +00:00
|
|
|
vim.opt.backup = false
|
|
|
|
vim.opt.clipboard = "unnamedplus"
|
|
|
|
vim.opt.cmdheight = 2
|
2022-08-03 01:08:42 +00:00
|
|
|
vim.opt.completeopt = { "menu", "menuone", "noselect" }
|
2022-07-09 13:10:31 +00:00
|
|
|
vim.opt.conceallevel = 0
|
|
|
|
vim.opt.fileencoding = "utf-8"
|
2022-09-06 02:28:15 +00:00
|
|
|
vim.opt.background = "dark"
|
2022-07-09 13:10:31 +00:00
|
|
|
vim.opt.hlsearch = true
|
|
|
|
vim.opt.ignorecase = true
|
|
|
|
vim.opt.mouse = "a"
|
|
|
|
vim.opt.pumheight = 10
|
|
|
|
vim.opt.showmode = false
|
|
|
|
vim.opt.showtabline = 2
|
|
|
|
vim.opt.smartcase = true
|
|
|
|
vim.opt.smartindent = true
|
|
|
|
vim.opt.splitbelow = true
|
|
|
|
vim.opt.splitright = true
|
|
|
|
vim.opt.swapfile = false
|
|
|
|
vim.opt.termguicolors = true
|
|
|
|
vim.opt.timeoutlen = 500
|
|
|
|
vim.opt.undofile = true
|
|
|
|
vim.opt.updatetime = 50
|
|
|
|
vim.opt.writebackup = false
|
|
|
|
vim.opt.expandtab = false
|
|
|
|
vim.opt.shiftwidth = 2
|
|
|
|
vim.opt.tabstop = 2
|
|
|
|
vim.opt.number = true
|
|
|
|
vim.opt.relativenumber = false
|
|
|
|
vim.opt.numberwidth = 4
|
|
|
|
vim.opt.signcolumn = "yes"
|
|
|
|
vim.opt.wrap = false
|
|
|
|
vim.opt.scrolloff = 8
|
|
|
|
vim.opt.sidescrolloff = 8
|
|
|
|
vim.opt.shortmess:append("c")
|
|
|
|
vim.opt.guicursor = ""
|
|
|
|
vim.opt.incsearch = true
|
|
|
|
vim.opt.colorcolumn = "120"
|
|
|
|
vim.opt.list = true
|
|
|
|
vim.opt.listchars:append("lead:.")
|
2022-07-19 20:08:35 +00:00
|
|
|
vim.opt.foldcolumn = "2"
|
|
|
|
vim.opt.foldlevel = 99
|
|
|
|
vim.opt.foldlevelstart = -1
|
|
|
|
vim.opt.foldenable = true
|
|
|
|
vim.opt.fillchars = [[eob: ,fold: ,foldopen:,foldsep: ,foldclose:]]
|
2022-09-06 02:28:15 +00:00
|
|
|
vim.opt.winbar = "%{%v:lua.require'plugins.configs.winbar'.get_winbar()%}"
|
|
|
|
|
2022-07-09 13:10:31 +00:00
|
|
|
vim.cmd("set whichwrap+=<,>,[,],h,l")
|
2022-09-02 17:42:32 +00:00
|
|
|
vim.cmd("set iskeyword+=-")
|
|
|
|
vim.cmd("set formatoptions-=cro")
|
|
|
|
vim.cmd("set foldmethod=expr")
|
|
|
|
vim.cmd("set foldexpr=nvim_treesitter#foldexpr()")
|