config.nvim/lua/core.lua
2021-09-08 19:57:41 +08:00

22 lines
357 B
Lua

-- Core Settings
local opt = vim.o
-- look and feel
opt.relativenumber = true
opt.number = true
opt.showmode = false
opt.scrolloff = 10
opt.ruler = true
opt.termguicolors = true
opt.shiftwidth = 2
-- controlling
opt.ignorecase = true
opt.smartcase = true
opt.smartindent = true
opt.mouse = "i"
-- completion for lua
opt.completeopt = 'menuone,noselect'